Re: IP address from which country

From: Date: Wed, 09 Jan 2002 10:08:44 +0000
Subject: Re: IP address from which country
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-79889@lists.php.net to get a copy of this message
On Wed, Jan 09, 2002 at 11:33:46AM +0200, Dimitris Kossikidis wrote: : : I 'm not sure, but i beleive you can get visitor's country from Apache 's : Varialble $HTTP_ACCEPT_LANGUAGE. For further information read "Predefined : Variables" in the manual. This works assuming the browser itself sends the "correct" country code. Browsers in most places will send a "Content-language: en" regardless of what country the user's browser is running within. -- Eugene Lee eugene@fsck.net

« previous php.general (#79889) next »