IP2Country PHP: Get information of the country of an IP address

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,194 All time: 3,137 This week: 254Up
Version License PHP version Categories
ip2country-php 1.0Freeware5.0Networking, PHP 5, Geography
Description Author

This class can be used to get information of the country of an IP address.

It takes an IP address and queries MySQL database to determine the country associated with the given IP address range.

The class returns the associated country name and country codes with both 2 and 3 letters.

Picture of Dwayne Rothe
Name: Dwayne Rothe <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 54
All time rank: 166626 in Australia Australia
Week rank: 445 Up5 in Australia Australia Up

  Files folder image Files  
File Role Description
Files folder imagedb (1 file)
Plain text file ip2countryphp.sql.php Class Class
Accessible without login Plain text file changelog.txt Doc. Update of changes
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file example2.php Example Example
Accessible without login Plain text file INSTALL.txt Doc. Installation instructions

  Files folder image Files  /  db  
File Role Description
  Accessible without login Plain text file ip2countryphp.sql.txt Data MySQL database import file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,194
This week:0
All time:3,137
This week:254Up

For more information send a message to info at phpclasses dot org.