PHP Classes
elePHPant
Icontem

IP 2 Country IP2C: Get country of a given IP address from CSV files

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-01-10 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 435 All time: 6,161 This week: 497Up
Version License PHP version Categories
ip2c 0.3Free for non-comm...5.0Networking, PHP 5, Geography
Description Author

This class can be used to get country of a given IP address from CSV files.

It takes a given IP address and looks up the country to IP addresses database file in CSV format to determine the IP address geographic location.

The class returns the IP address country name and country codes with 2 or 3 letters.

  Performance   Level  
Name: kz <contact>
Classes: 5 packages by
Country: Norfolk Island

 

Screenshots  
  • ip2c
  Files folder image Files  
File Role Description
Accessible without login Plain text file ipclass.php Class class file
Accessible without login Plain text file ip.php Example sample file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:435
This week:0
All time:6,161
This week:497Up