Re: Re: ip to country

From: Date: Sun, 21 Mar 2004 02:55:01 +0000
Subject: Re: Re: ip to country
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-181066@lists.php.net to get a copy of this message
On Mar 21, 2004, at 3:27 AM, Tom Reed wrote:
I would think using HTTP_ACCEPT_LANGUAGE to get the users browser language/country info would be quicker and easier to implement.
Using HTTP headers to identify the country where a visitor comes from is totally inaccurate. My browser identifies itself with: Accept-Language: en-us,en;q=0.5, while I live in the Netherlands where the main language is Dutch. When you need a little bit of accuracy you can't avoid using an IP to country database. Regards, Filip de Waard

« previous php.general (#181066) next »