Re: How to find out what country the visitor comes from

From: Date: Thu, 07 Feb 2002 15:01:30 +0000
Subject: Re: How to find out what country the visitor comes from
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83842@lists.php.net to get a copy of this message
Hi: SED wrote: > > I'm trying to find out what country the visitor comes from to offer them > suitable language > $HTTP_X_FORWARDED_FOR > or > gethostbyaddr($REMOTE_ADDR) Domain names and IP's are NOT the way to go. Way to unreliable. Use the HTTP header HTTP_ACCEPT_LANGUAGE. Take it easy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#83842) next »