| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 1x | |||||||||||||||||||
| Classes of George Clarke | > | AHostLookup | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||||
| Groups | Applications | |||||||
| Groups | ||
| Networking | Networking protocols, clients and servers | View top rated classes | |
| Databases | Database management, accessing and searching | View top rated classes | |
| Web services | Web data clipping, SOAP or XML-RPC clients and servers | View top rated classes | |
| Geography | Locations, mapping and demographics | View top rated classes |
| Innovation Award | ||
![]() July 2005 Number 4 Prize: One downloadable copy of Komodo Pro |
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 |
| User ratings | ||
| Ratings | ||||||||
|---|---|---|---|---|---|---|---|---|
| All time: | ||||||||
| Month: | ||||||||
| Applications that use this class | ||
| Link | Description |
|---|---|
| My Host Hits | Host hits to gaclarke.com |
| File | Role | Description |
|---|---|---|
| Appl. | Displays blocks of IPs with count greater than 0. Used with ahostlookup.php | |
| Example | Demo script for ahostlookup class. | |
| Class | The class file for ahostlookup class. | |
| Data | database for ahostlookup class | |
| Data | Upgrades existing isps table to the new version. |
| Download all files: ahostlookup.tar.gz ahostlookup.zip |