RE: [PHP] Getting Locale of User Agent as ISO Country Code

From: Date: Fri, 09 May 2003 12:40:45 +0000
Subject: RE: [PHP] Getting Locale of User Agent as ISO Country Code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147002@lists.php.net to get a copy of this message
> -----Original Message----- > From: SLanger@spirit21.de [mailto:SLanger@spirit21.de] > > I wonder if there is an easy way of getting the locale of the client as a > ISO country language code. > E.g: $_SERVER['HTTP_ACCEPT_LANGUAGE'] may not be correct, but it's a reasonable guess most times -and gives you a list of preferences. Mark C.

« previous php.general (#147002) next »