note 19701 added to function.setcookie
| From: | jeawoong at yahoo dot com | Date: | Fri, 08 Mar 2002 01:01:59 +0000 |
| Subject: | note 19701 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27500@lists.php.net to get a copy of this message | ||
> cwis@nerim.fr 12-Jan-2002 04:48
>
> Just lost a few hours "finding" that $HTTP_COOKIE_VARS is a
> global variable and you need to do something like
>
> global $HTTP_COOKIE_VARS;
>
> in order to access it. Life is sad, sometimes.
$_COOKIE
An associative array of variables passed to the current script via HTTP cookies. Automatically
global in any scope. Introduced in PHP 4.1.0.
--
http://www.php.net/manual/en/function.setcookie.php
http://master.php.net/manage/user-notes.php?action=edit+19701
http://master.php.net/manage/user-notes.php?action=delete+19701
http://master.php.net/manage/user-notes.php?action=reject+19701