php虚拟主机(万网)无法写入cookie报错代码
/* 设置时间 */
$totime = strtolower(trim($_POST['t']))=='true'?time()+3600*24*7:time()+1200;
setcookie('user',$row['username'],$totime,"/");
setcookie('name',$row['iname'],$totime,"/");
setcookie('uid',$row['id'],$totime,"/");
setcookie('group_id',$row['group_id'],$totime,"/");谢谢大侠
/* 设置时间 */
$totime = strtolower(trim($_POST['t']))=='true'?time()+3600*24*7:time()+1200;
setcookie('user',$row['username'],$totime,"/");
setcookie('name',$row['iname'],$totime,"/");
setcookie('uid',$row['id'],$totime,"/");
setcookie('group_id',$row['group_id'],$totime,"/");谢谢大侠
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货