©
本文档使用
php.cn手册 发布
[#1] k dot andris at gmail dot com [2015-05-29 20:49:39]
beware, dots (.) in cookie names are replaces by underscores (_)
[#2] Chris Watson [2009-09-29 17:18:36]
The value of $_COOKIE is determined by the content of cookies received in the user agent's request.
If you set a cookie (ie send it to the browser), it won't be sent back until the next request and so the data won't be present in $_COOKIE.