PHP Classes

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 enough user ratingsTotal: 1,202 All time: 3,152 This week: 146Up
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: 58
All time rank: 167926 in Australia Australia
Week rank: 321 Up4 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,202
This week:0
All time:3,152
This week:146Up