Page 1 of 1

Retrieving location from IP Address

Posted: Mon Apr 30, 2007 6:22 am
by lunny
Hi guys,

My query is as follows i have IP address stored in variable and would like to know how to find out the location of the IP address. And how close can i actually get as in Country/City/..

Im working on a project called email snooper, in which we set traps for ''snoopers'' and gather their IP address.

What I would like is to then display to location of the snooper to users who set up to the trap. I know there is many services out there that do this, but again I would like to display results such as Country/City on my page.

Is there any free IP databases out there and methods etc ?

Thanks

Posted: Mon Apr 30, 2007 6:31 am
by mentor

Posted: Mon Apr 30, 2007 8:56 am
by lunny
Ah yes nice links...I managed to get country back from IP address but still struggling with City.

I downloaded the GeoLite City Database but not sure how to retrieve city from this given IP address, anyone here with any experience ?