How can I read the value of an existing cookie?

From: Date: Sat, 25 Aug 2001 12:20:06 +0000
Subject: How can I read the value of an existing cookie?
Groups: php.general 
Request: Send a blank email to php-general+get-64424@lists.php.net to get a copy of this message
I am new to PHP (probably the question itself shows it...). 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"). Thank you for your support. Pere

« previous php.general (#64424) next »