Re: Detecting Languages...
| From: | Tommy Gildseth | Date: | Thu, 01 Nov 2001 12:37:11 +0000 |
| Subject: | Re: Detecting Languages... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73147@lists.php.net to get a copy of this message | ||
"Arcadius A." <ahouans@sh.cvut.cz> wrote in message
news:20011101012422.70827.qmail@pb1.pair.com...
> HEllo !
> I have a website designed in several languages (En , Fr , Cz) ....
> My question is :
> How to detect the language setting of the the visitor's PC in order to
> redirect him to a specified content ?
>
These are the HTTP headers my browser send along when I load a page from a
webserver.
I expect you can guess which one would be interesting for you :-)
Accept: */*
Accept-Language: en-gb,no;q=0.5
Host: www.gildseth.com
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)