Login   Register  
PHP Classes
elePHPant
Icontem

IP_to_country

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Valerio Giuffrida
Name: Valerio Giuffrida <e-mail contact>
Packages: 2 Browse all classes by Valerio Giuffrida Browse all classes by
Country: Italy Italy - PHP jobs in Italy
Age: 25
All time rank: 74227 in Italy Italy
Week rank: 1064 Down37 in Italy Italy Down


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Valerio Giuffrida  >  IP_to_country  >  Download .zip .tar.gz  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IP_to_country
Base name: ip_to_country
Description: Determine the country of an IP address using Whois
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2052 users
All time rank: 1708
Week users: 0 users
Week rank: 1988 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  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


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Sufficient (70.8%)
-
Sufficient (62.5%)
-
-
Not sure (46.7%)
1738
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 folder image Files  
File Role Description
Accessible without login Plain text file countries.txt Data Collection of ISO codes and countries's name
Plain text file ip2country.class.php Class Class
Accessible without login 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.