Home >php教程 >php手册 >Php Cookie的一个使用注意点

Php Cookie的一个使用注意点

WBOY
WBOYOriginal
2016-06-13 12:26:201103browse

复制代码 代码如下:


setcookie('test', 'this is a cookie test');
echo ($_COOKIE['test']);
?>

上面代码,并不会显示你想要的结果
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn