Obtaining the location of an IP using PHP

keith smith klsmith2020 at yahoo.com
Thu Mar 18 17:50:25 MST 2010



Hi,

I've been searching for a way to get the city and state of an IP.  I program in PHP and I can get the remote IP without any problem however I need to take that IP and convert it into a location.

I've run into several howto's that suggest using an API for http://ipinfodb.com .  I'm just not sure that is going to work or be accurate.

Any help would be much appreciated.

Thanks!
-----------------------
Keith Smith


      


More information about the PLUG-discuss mailing list