用header 发送cookie的php代码
用header 发送cookie
header("Set-Cookie: testcookie=中文; path=/; domain=.phpv.net; expires=".gmstrftime("%A, %d-%b-%Y %H:%M:%S GMT",time()+9600));
请将path=/; domain=.phpv.net;改为自己的(不知道怎么设就删除它们]
/php/15175.htmlwww.phpzy.comtrue/php/15175.htmlTechArticle用header 发送cookie的php代码 用header发送cookie header("Set-Cookie:testcookie=中文;path=/;domain=.phpv.net;expires=".gmstrftime("%A,%d-%b-%Y%H:%M:%SGMT",time()+9600)); 请将path=/;domain=.phpv.net;改为自己的(不知道怎么设...
PHP之友评论