Login   Register  
PHP Classes
elePHPant
Icontem

Class ip2c by Ofloo: Get the country of IP v4 or v6 address from ip2c

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-25 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 445 All time: 5,630 This week: 1,364Up
Version License PHP version Categories  
ip2c-class 1.0GNU General Public Lice...5.3Networking, PHP 5, Web services, Geog...
Description Author  

This class can get the country of IP v4 or v6 addresses from ip2c service.

It can send an HTTP request to the ip2c Web server to retrieve the country of a given IP address.

The class can return the IP address country code, country name, registration of where and when the IP was allocated.

Picture of Wouter Snels
Name: Wouter Snels <contact>
Classes: 2 packages by
Country: Belgium Belgium
Age: 34
All time rank: 168611 in Belgium Belgium
Week rank: 480 Up2 in Belgium Belgium Up

  Files folder image Files  
File Role Description
Plain text file ip2c.class.php Class ip2c class
Accessible without login Plain text file example.php Example Example

 Version Control Unique User Downloads Download Rankings  
 100%Total:445All time:5,630
 This week:0This week:1,364Up