PHP Classes
Icontem

Class: IP_to_country


  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! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Valerio Giuffrida  >  IP_to_country  >  Download  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IP_to_country Support forum
Base name: ip_to_country
Description: Determine the country of an IP address using Whois
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1442 users
All time rank: 1840
Week users: 5 users
Week rank: 1371
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Valerio Giuffrida
Name: Valerio Giuffrida <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: ???
Age: 21
All time rank: 753
Week rank: 840

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 be used to determine the country of an IP address using the Whois service.

It connects to an Whois server and queries the information associated to a given IP address.

If country information is available, the class returns an array with the country code, country name and the file name of the country flag.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (50.0%)
Sufficient (68.8%)
-
Sufficient (68.8%)
-
-
Insufficient (38.8%)
1757
Month:
Not yet rated by the users

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
flags.zip A compressed file where there are placed the countries's flags. Thanks a my friend for the hosting

Files

File Role Description
Plain text file countries.txt Data Collection of ISO codes and countries's name
Plain text file ip2country.class.php Class Class
Plain text file test.php Example Test script
Download all files: ip_to_country.tar.gz ip_to_country.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-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products