Could you all try this :
http://www.un-map.com/ip2country/ip2country.php (http://www.un-map.com/ip2country/ip2country.php)
and make sure that the country code/name is correct :)
It returns your IP address, country code (2 and 3 code version) and country name
XX.XXX.XX.XX GB GBR United Kingdom
Sounds about right here.
92.224.171.75 DE DEU Germany
ok !
ip-to-country.csv ??
xxx.xxx.xxx.xxx ES ESP Spain
works for me too.
109.76.24.242 IE IRL Ireland
same ip as reported by whatsmyip.org
Canada as expected
Works fine on three different IP's from three different ISP's in Sweden :-)
xx.xxx.xxx.xxx IT ITA Italy
Work for me! =D
xx.xxx.xxx.x AU AUS Australia
Worked fine here too.
Sounds like its all pretty accurate.
Quoteip-to-country.csv ??
I was hoping to intergrate the csv file into a mySQL database, but the PHP just wouldn't connect, so I found an alternative way of doing it.
Works here, too. Ace work!
:good:
Quote from: Ocean on 2010-Dec-06
Generally, in the retail market, geo-locating IP addresses will work ok. Please note that multi-national corporations have address spaces that they use spanning multiple countries. In such cases you might get a correct country (corporation wise) but not the correct geographical location of the actual address user.
Ocean
That shouldn't be too much of a problem - my Language selection routine allows the user to change the country thats returned from the web routine.
I didn't actually write the main routine - the actual code is from http://chir.ag/projects/geoiploc/ (http://chir.ag/projects/geoiploc/) - I just slightly modified the interface code :)
xx.xxx.x.xxx+US+USA+United States :good:
187.105.220.26+BR+BRA+Brazil
Thanks for that - all seems to be accurate :)