i am storing IP addresses of visitors of my site. i want to see the Countries with the help of IPs. I had heard sometime back that there is an API for it but i don't remember now. may be something like Whois API.
Can any one tell me with the help of which resource i can achieve my objective ?
I found a free MySQL database file that had IP ranges and their associated country. I wouldn't trust it 100% for accuracy, but it seems to do very well for us.
I think there may also be some third party sites out there that you can ping with an IP and they will tell you the country, but I don't like waiting for their server to respond.
Just remember that any IP lookup will give you the location of the ISP or proxy server, the actual location of your visitor need not be anywhere near that location.
Bookmarks