?php $app_key = '12008678';/*填写appkey */ $secret='';/*填入Appsecret'*/ $timestamp=time()."000"; $message = $secret.'app_key'.$app_key.'timestamp'.$timestamp.$secret; $mysign=strtoupper(hash_hmac("md5",$message,$secret)); setcookie("times
$app_key = '12008678';/*填写appkey */
$secret='';/*填入Appsecret'*/
$timestamp=time()."000";
$message = $secret.'app_key'.$app_key.'timestamp'.$timestamp.$secret;
$mysign=strtoupper(hash_hmac("md5",$message,$secret));
setcookie("timestamp",$timestamp);
setcookie("sign",$mysign);
?>
有PHP开发环镜的朋友请帮我输出一个结果:HMAC("MD5," 12342e93ab9ad9822c77b75fc9cf2d4bapp_key469115timespamp2012-10-23 21:41:2512342e93ab9ad9822c77b75fc9cf2d4b","12342e93ab9ad9822c77b75fc9cf2d4b")