RE: [PHP] Cookie Retrieval

2001-12-11 Thread Johnson, Kirk
I think this approach should work as long as register_globals is set to 'on' in php.ini. If it isn't, then reference the cookie as $HTTP_COOKIE_VARS['poccd_session']. Kirk > Can someone tell me if there is a bit of code I need to put > on pages so I > can retrieve a cookie. > The cookie was set

[PHP] Cookie Retrieval

2001-12-11 Thread Steve Osborne
Can someone tell me if there is a bit of code I need to put on pages so I can retrieve a cookie. The cookie was set with the following code: //(D) Set Cookie $encoded_login = encode_string($login); if ( $remember == "yes" ){ // set login to expire in 1000 days $time = (time() + ( 24