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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php