Maison >développement back-end >tutoriel php >php-PHP的setcookie时出现如下问题!
phpcookie
<code> <?php setcookie("color","red"); echo $_COOKIE["color"]; /*color is red*/ /* your codes and functions*/ setcookie("color","blue"); echo $_COOKIE["color"]; ?></code>