Obtaining the location of an IP using PHP

2010-03-18 Thread keith smith
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 n

Re: Obtaining the location of an IP using PHP

2010-03-18 Thread Daniel Stasinski
> I need to take that IP and convert it into a location. http://www.maxmind.com/app/php Daniel -- | --- | Daniel P. Stasinski | http://www.saidsimple.com | dan...@avenues.org | http://www.disabilities-r-us.com | XM

Re: Obtaining the location of an IP using PHP

2010-03-18 Thread Craig White
On Thu, 2010-03-18 at 18:37 -0700, Daniel Stasinski wrote: > > I need to take that IP and convert it into a location. > > http://www.maxmind.com/app/php +1 for maxmind (the CityLite database) Every time I double check against Google's GeoIP it does better but admittedly, I have probably ve

Re: Obtaining the location of an IP using PHP

2010-03-18 Thread fouldragon
You might try geoplugin. It's a piss-simple service with good documentation. -Original Message- From: keith smith To: Main PLUG discussion list Sent: Thu, Mar 18, 2010 5:50 pm Subject: Obtaining the location of an IP using PHP Hi,I've been searching for a way to get th

Re: Obtaining the location of an IP using PHP

2010-03-18 Thread Daniel Stasinski
On Thu, Mar 18, 2010 at 8:10 PM, Craig White wrote: > +1 for maxmind (the CityLite database) > Every time I double check against Google's GeoIP it > does better but admittedly, I have probably verified > less than 100 of them. For the free version, which is updated monthly, accuracy is over 99.5%

Re: Obtaining the location of an IP using PHP

2010-03-18 Thread Craig White
On Thu, 2010-03-18 at 21:33 -0700, Daniel Stasinski wrote: > On Thu, Mar 18, 2010 at 8:10 PM, Craig White wrote: > > +1 for maxmind (the CityLite database) > > Every time I double check against Google's GeoIP it > > does better but admittedly, I have probably verified > > less than 100 of them. >