Login   Register  
PHP Classes
elePHPant
Icontem

Ip Location

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      IP Location Class  >  All threads  >  Ip Location  >  (Un) Subscribe thread alerts  
Subject:Ip Location
Summary:Credibility of the Location Given
Messages:4
Author:Dhaval
Date:2009-11-25 13:08:13
Update:2009-11-26 08:32:04
 

  1. Ip Location   Reply  
Picture of Dhaval
Dhaval
2009-11-25 13:08:13
Hi I was just a little curious regarding the credibility of information provided. Can you please tell me what are your sources for IP-country-state-city mapping ??. Which database you use for this mapping ??

We can get same information from
http://www.infosniper.net/geolocate-ip-addresses-api.php?lan ... This service gives us output through URL.

  2. Re: Ip Location   Reply  
Picture of Mike Scirocco
Mike Scirocco
2009-11-25 20:42:19 - In reply to message 1 from Dhaval
Did you try using google? The first search hit for IPInfoDB gets you to their site. Clicking on the Database tab gets you to the page you are looking for:

http://ipinfodb.com/ip_database.php

Data accuracy
Over 99.5% on a country level and around 80% on a city level for the US within a 25 mile radius with the complete database. With the small version you get very good accuracy while having 65% less row. Most IP in the 123.123.123.0-255 range are very close to each others.

The data is compiled from the free Maxmind CSV database (Geolite City) and rearranged with many scripts. We use other sources such as Geonames for timezones, FIPS for regions name and IANA for IP assignement. If you wan't better precision on a city level, MaxMind offers great commercial products. In no way our site is related to Maxmind but since we use their free database to build ours, we wanted to thank them by putting a link to their site for those that can afford their commercial products.

Like horsepower, you get what you pay for.
Mike

  3. Re: Ip Location   Reply  
Picture of Usman Didi Khamdani
Usman Didi Khamdani
2009-11-26 08:22:54 - In reply to message 1 from Dhaval
Hi, Dhaval. as we can see in my class script, for retrieve IP address from a domain or sub domain, I use nslookup command prompt (see on line 31) by shell_exec function and for getting IP location I use IP geolocation API from http://www.ipinfodb.com/ (see on line 134). About credibility of IPInfoDB, I think Mike has explained it clearly

  4. Re: Ip Location   Reply  
Picture of Dhaval
Dhaval
2009-11-26 08:32:05 - In reply to message 3 from Usman Didi Khamdani
Hey thank you all for such prompt and in-detailed reply.