Home  >  Article  >  Backend Development  >  php-PHP的setcookie时出现如下问题!

php-PHP的setcookie时出现如下问题!

WBOY
WBOYOriginal
2016-06-02 11:28:44792browse

phpcookie

<code> <?php setcookie("color","red");        echo $_COOKIE["color"];        /*color is red*/        /* your codes and functions*/        setcookie("color","blue");        echo $_COOKIE["color"]; ?></code>

图片说明

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