note 19701 deleted from function.setcookie by john
| From: | john@php.net | Date: | Thu, 28 Nov 2002 02:31:00 +0000 |
| Subject: | note 19701 deleted from function.setcookie by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40056@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.