RE: [PHP] IP to City detection
| From: | Jim Moseby | Date: | Wed, 21 Mar 2007 13:34:17 +0000 |
| Subject: | RE: [PHP] IP to City detection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-251008@lists.php.net to get a copy of this message | ||
> 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