Quick test

Previous topic - Next topic

MrTAToad

Could you all try this :

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

Ian Price

#1
XX.XXX.XX.XX GB GBR United Kingdom

Sounds about right here.
I came. I saw. I played.

Marmor

#2
92.224.171.75 DE DEU Germany
ok !
ip-to-country.csv ??

hardyx

xxx.xxx.xxx.xxx ES ESP Spain
works for me too.

okee

#4
109.76.24.242 IE IRL Ireland

same ip as reported by whatsmyip.org
Android: Samsung Galaxy S2 -  ZTE Blade (Orange San Francisco) - Ainol Novo 7 Aurora 2
IOS: 2 x Ipod Touch (1G)

Wampus

Canada as expected

Moru

Works fine on three different IP's from three different ISP's in Sweden :-)

Neurox

xx.xxx.xxx.xxx IT ITA Italy
Work for me!  =D

Paolo Borzini | paolo@borzini.it
The WhiteFly Software | www.thewhitefly.it
Service on line for screen printers | www.4pellicole.it

Hatonastick

xx.xxx.xxx.x AU AUS Australia

Worked fine here too.
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

MrTAToad

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.

Kitty Hello

Works here, too. Ace work!

Hark0

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

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/ - I just slightly modified the interface code :)

Millerszone

xx.xxx.x.xxx+US+USA+United States  :good:
Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

erico

187.105.220.26+BR+BRA+Brazil