list($phpask_user,$phpask_temp) = isset($_DCOOKIE['compound']) ? explode("\t", compound_code($_DCOOKIE['compound'], 'DECODE')) : array('','');
 调用 compound_code函数解密出来是乱码,此函数如下:
function compound_code($string, $operation, $key = '')
{
global $phpask_hash_key;
$key = $key ? $key : $phpask_hash_key;
$coded = '';
$keylength = strlen($key);
$string = $operation == 'DECODE' ? base64_decode($string) : $string;
for($i = 0; $i < strlen($string); $i += $keylength)
{
$coded .= substr($string, $i, $keylength) ^ $key;
}
$coded = $operation == 'ENCODE' ? str_replace('=', '', base64_encode($coded)) : $coded;   
return $coded;
}
  这问题已困扰了我很久,请高手赐教!多谢!