PHP Developer's Network : Network Member Forums

Class: AHostLookup



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/2428.html
      Classes of George Clarke  > 
AHostLookup
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

  • Picture of George Clarke
    Name: George Clarke is available for providing paid consulting. Contact George Clarke .
    Published packages: 7
    Country: United States United States - PHP professionals from United States looking for PHP jobs
    Home page: http://www.gaclarke.com/
    Age: 61
    All time rank: 133
    Week rank: 124

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award nominee
    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
  • Groups:

  • Group folder image
    Networking protocols, clients and servers
    View top rated classes
    Group folder image
    Database management, accessing and searching
    View top rated classes
    Group folder image
    Web data clipping, SOAP or XML-RPC clients and servers
    View top rated classes
    Group folder image
    Locations, mapping and demographics
    View top rated classes
  • Detailed description:

  • 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.
  • User ratings:

  • Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Good (87.5%)
    Sufficient (68.8%)
    -
    Sufficient (75.0%)
    -
    -
    Not sure (58.1%)
    693
    Month:
    Not yet rated by the users
  • Applications that use this class:

  • Link Description
    My Host Hits
    Host hits to gaclarke.com
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Plain text file ahostdisplay.php Appl.
    Displays blocks of IPs with count greater than 0. Used with ahostlookup.php
    Plain text file ahostlookup.php Example
    Demo script for ahostlookup class.
    Plain text file class.ahostlookup.php Class
    The class file for ahostlookup class.
    Plain text file isps.sql Data
    database for ahostlookup class
    Plain text file isps_alter.sql Data
    Upgrades existing isps table to the new version.
    Download all files: ahostlookup.tar.gz ahostlookup.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products