PHP Classes
Icontem

Class: IP2More


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Bakr Alsharif  >  IP2More  >  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   Freshmeat project  
  Applications   Related links   Files Files  
  • Supplied by:

    Picture of Bakr Alsharif
    Name: Bakr Alsharif <e-mail contact>
    Published packages: 4
    Country: Egypt Egypt - PHP jobs in Egypt
    Home page: http://systurn.com/

    Browse this author's classes

  • Groups:

    Group folder image Networking Networking protocols, clients and servers View top rated classes
    Group folder image Geography Locations, mapping and demographics View top rated classes
  • Detailed description:

    This class can lookup related information of the country of the network of a given IP address.

    It does not need an SQL database server as it uses the ip2country flat file databases to lookup the the IP country and other details like the country ISO 2 and 3 letter codes, FIPS104 code, ISO number, region, capital, currency name and code and flags.

    The class can also generate select inputs for choosing a country in Web forms. The select input default country can optionally be set to the country of a the user's IP address.

    New In v3.0:
    - If the IP address was not found in the local database, Its info will be fetched from Whois server.
    - A new function added "find_country": This function was suggested by 'Nizam', It will find a country by providing any info about it (name, iso2, iso3, fips104 OR even the Capital)
    - The fips104 field in countries list, was updated. thanks to 'Nizam'
    - A new function added "is_valid_ip": it will check the validity of the passed IP address


    Note:
    You can change the WHOIS service to any other one you might know.
    But if you did so, don't forget to change the $whois_regex and $whois_return.
    (Till I finish documentations you will find detailed comments in i2m.class.php)
  • Freshmeat project:

    Project record: ip2more
    Rating: Please rate this class in Freshmeat
  • Applications that use this class:

    No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Related links:

    Link Description
    Online Example an online example for V3
    Required Files For V3 The flat database and flags (V3)
    Documentation online documentation (V2 only)
  • Files:

    File Role Description
    Plain text file demo.php Example Example
    Plain text file i2m.class.php Class ip2more base class
    Plain text file license.txt Lic. License
    Plain text file readme.txt Doc. READ ME
    Download all files: ip2more.tar.gz ip2more.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact 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