Page 1 of 1
How to find the city using IP address?
Posted: Tue Apr 29, 2008 2:19 am
by vani sri
Hi all,
It got the Ip Address as 122.164.81.242 . How to find the city name using this IP address?
Thanks & regards,
vani
Re: How to find the city using IP address?
Posted: Tue Apr 29, 2008 3:44 am
by onion2k
Pop over to Maxmind.com and buy the list ...
http://www.maxmind.com/app/city It's not completely fool-proof. It works best for cities in the USA really. Other countries aren't that accurate.
EDIT: Just noticed they now have a free version of the city database -
http://www.maxmind.com/app/geolitecity
Re: How to find the city using IP address?
Posted: Tue Apr 29, 2008 3:54 am
by vani sri
HI thanks for your reply.
I want to track the city using PHP functions. Is it possible?? ???
Re: How to find the city using IP address?
Posted: Tue Apr 29, 2008 4:02 am
by onion2k
vani sri wrote:I want to track the city using PHP functions. Is it possible?? ???
Yes. Use the database I linked to.
Re: How to find the city using IP address?
Posted: Tue Apr 29, 2008 4:08 am
by Kieran Huggins
What you're looking for is IP geolocation - there was a thread on here a few days ago.