There's a MaxMind's GeoLite City service for that. It's free.
http://www.maxmind.com/app/geolitecity
On Wed, 21 Mar 2007, Jim Moseby wrote:
Hi people,
Is there a way to detect the city of a person based on the IP
address? I
mean something like ip2nation http://www.ip2nation.com/ but for cities
so I can use it in my PHP web application.
Thanks for any help you can give me,
-William
I have one that 'sort of' works. It might be a start for you. I don't take
credit for it, but I can't find in the source code any credits. I'll send
it to you off list.
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php