好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

response.addheader用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;改为自己的(不知道怎么设就删除它们]

以上就介绍了response.addheader 用header 发送cookie的php代码,包括了response.addheader方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

查看更多关于response.addheader用header发送cookie的php代码的详细内容...

  阅读:40次