quote:
Originally posted by Lee Jeffery
$_COOKIE['TestCookie'];
not
$_COOKIE["TestCookie"];
that makes no difference...
ashhhhhhhhh i told you COOKIES DONT APPLY TILL NEXT RELOAD so insert it into the $_COOKIE array yourself like
code:
setCookie('xxx','hawt');
$_COOKIE['xxx'] = 'hawt';
edit:
and if you look on the setCookie function page it says
quote:
Originally posted by http://php.net/setCookie
Once the cookies have been set, they can be accessed on the next page load with the $_COOKIE or $HTTP_COOKIE_VARS arrays. Note, autoglobals such as $_COOKIE became available in PHP 4.1.0. $HTTP_COOKIE_VARS has existed since PHP 3. Cookie values also exist in $_REQUEST.