Re: How to detect the language of the user?

From: Date: Tue, 08 Oct 2002 20:03:41 +0000
Subject: Re: How to detect the language of the user?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16260@lists.php.net to get a copy of this message
Use the variable: $_SERVER["HTTP_ACCEPT_LANGUAGE"] and redirect from there. Look at a phpinfo() screen and it will tell you what language your browser is. I'm not sure what codes you'll need to know about but my english language'd mozilla returns "en-us, en;q=0.50". -Dash On Tue, 8 Oct 2002, Aitor wrote: > How can I detect the language of the users that visit my web so I can redirect them?

« previous php.windows (#16260) next »