response.addheader 用header 发送cookie的php代码
程序员文章站
2024-01-16 00:01:04
...
用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;改为自己的(不知道怎么设就删除它们]
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教程有兴趣的朋友有所帮助。
上一篇: 如何测试MySQL的压力?
下一篇: 用于过滤快速重复的请求