Re: Detecting Languages...

From: Date: Thu, 01 Nov 2001 12:41:12 +0000
Subject: Re: Detecting Languages...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-73148@lists.php.net to get a copy of this message
"Tommy Gildseth" <tommy@fo.ikkespam.to.no> wrote in message news:20011101123604.32216.qmail@pb1.pair.com... > "Arcadius A." <ahouans@sh.cvut.cz> wrote in message > news:20011101012422.70827.qmail@pb1.pair.com... > > How to detect the language setting of the the visitor's PC in order to > > redirect him to a specified content ? > > > > Accept: */* > Accept-Language: en-gb,no;q=0.5 > Host: www.gildseth.com > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) More specifically the variabel $HTTP_ACCEPT_LANGUAGE will tell you what languages the users browser will accept.

« previous php.general (#73148) next »