Innovation Award
 July 2005
Number 4 |
The ability to determine the location of the users may be very useful for sites that can use that information to provide services to their users depending on the region where they live.
There are several types of databases and online services that are able to determine the zip code of the network of a given ISP from the IP address of a user accessing from that network.
However, as the time passes, some IP address ranges are reassigned to different ISPs that are located in different places. The existing IP address range databases tend to get outdated.
This class provides a solution to build an upto date IP address range database.
When it does not know the location of a given IP address, it uses the whois service to retrieve the information of the corresponding ISP, the ISP location zip code and the assigned IP range.
The retrieved information is stored in a local MySQL database to avoid further whois lookup overhead.
Manuel Lemos |
This class can be used to lookup the host name, ISP name and the United States ZIP code of the network of a given IP address.
It also returns the upper and lower IP addresses of the block of that the given IP belongs.
This class will keep a running count of the number of times a block of IPs were looked up and the date and time of last lookup of each block.
This class can lookup the IP address in a MySQL database, which is provided with this class, and if not found, it can lookup the IP from the ARIN Web site and then save the newly found information in the database.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (87.5%) |
Sufficient (68.8%) |
- |
Sufficient (75.0%) |
- |
- |
Not sure (58.1%) |
831 |
| Month: |
Not yet rated by the users |
 If you know an application of this package, send a message to the author to add a link here.
|
|