Hi
I need a little help.
I'm using
http://api.hostip.info/country.php
to fetch the locale of the visitor.
I'd like to fetch this through my PHP script, with something like this:
$locale = @file("http://api.hostip.info/country.php");
But, then this web service doesn't fetch my visitors location, but my web server location.
I need tihs to programatically set the default language for my multilanguage website.
Does anybody have any idea how to "fix" this ?
Thank you
I need a little help.
I'm using
http://api.hostip.info/country.php
to fetch the locale of the visitor.
I'd like to fetch this through my PHP script, with something like this:
$locale = @file("http://api.hostip.info/country.php");
But, then this web service doesn't fetch my visitors location, but my web server location.
I need tihs to programatically set the default language for my multilanguage website.
Does anybody have any idea how to "fix" this ?
Thank you




