PHP Classes

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 Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-11-07 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 467 This week: 1All time: 5,654 This week: 1,063Up
Version License PHP version Categories  
ip2c-class 1.0GNU General Publi...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: 35
All time rank: 167811 in Belgium Belgium
Week rank: 579 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:467All time:5,654
 This week:1This week:1,063Up