on 8/25/01 6:20 AM, Pere at [EMAIL PROTECTED] 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to