这段代码是友言的本地化单点登录功能,下边的id改怎么填?
<?php
$uid = "#"; 这里
$uname = "#";这里
$email = "#";这里
$uface = "#";这里
$ulink = "#";这里
$expire = "3600";
$key = "上面设置的‘认证密匙’";
$encode_data = array(
'uid'=>$uid,
'uname'=>$uname,
'email'=>$email,
'uface'=>$uface,
'ulink'=>$ulink,
'expire'=>$expire
);
setcookie('syncuyan', des_encrypt(json_encode($encode_data), $key), time() + 3600, '/', '');
?>
阅读全文
收起全文