Hi, I'm trying to find out what country the visitor comes from to offer them suitable language (like google.com does) but I haven't found a method that works 100%. What I have come up with so far is to use
$HTTP_X_FORWARDED_FOR or gethostbyaddr($REMOTE_ADDR) Sometime I get domain which does the job (and that works) but often I get just IP number which leaves me out in the cold. Is there any other way to capture the visitors country? Thanks, SED -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php