I do the print $_COOKIE["Acccess]"; and I still don't see any data print.
Leif K-Brooks wrote:
> First of all, the second try should be print $_COOKIE["Access"]; with
> no second $. But, more importantly, I would reccomend you change the
> cookie name to access. This may not be the problem, but case in names
> seems to generally cause problems.
> Tom Ray wrote:
>> I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't
>> seem to retrieve data from them.
>> First I set the cookie like so:
>> setcookie ("Access", "Test_Value",time()+31536000);
>> Then I check my Cookies in Netscape and I can see that I have the
>> cookie stored. But when I go to the page that has
>> print $HTTP_COOKIE_VARS["Access"];
>> print $_COOKIE["$Access"];
>> and even
>> print "$Access";
>> I don't get the value set in the cookie, and I don't know why...any
>> help, please?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php