Re: How can I read the value of an existing cookie?

From: Date: Sat, 25 Aug 2001 15:02:04 +0000
Subject: Re: How can I read the value of an existing cookie?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64436@lists.php.net to get a copy of this message
on 8/25/01 6:20 AM, Pere at alvitronia@retemail.es wrote: > I am setting up a cookie stating the language the user wishes to have the > site written with. No problem up to here. > > Next time the user goes back to the site I want to read the cookie and, > provided it exists, set up the site with the requested language. > > How can I retrieve the existing value of the cookie? (My cookie looks > "language","spanish or english or german","time()+1 year"). $HTTP_COOKIE_VARS["language"] if register_globals is on, you should be able to use $language mike > Thank you for your support. > > Pere > > -- mike cullerton

« previous php.general (#64436) next »