PHP Classes

bbIPtoCountry: Determine the country of a given IP address

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  
2004-10-18 (10 years ago) RSS 2.0 feedStarStarStar 50%Total: 2,836 This week: 1All time: 1,246 This week: 996Up
Version License Categories  
bbiptocountry 1.0GNU General Publi...Networking, Databases, Geography
Description Author  

This class can determine the country where it is located the network of a given IP address.

The class looks up the country code of the IP address in MySQL table with IP ranges.

The class provides a function that populates the IP address range table with information from a CSV file of the IP-to-Ccountry service that may be obtained from the site .

Picture of Bogac Bokeer
Name: Bogac Bokeer <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 40
All time rank: 69711 in Turkey Turkey
Week rank: 812 Down16 in Turkey Turkey Down

  Files folder image Files  
File Role Description
Plain text file bbIPtoCountry.class.php Class IP to Country Class File
Accessible without login Plain text file index.php Example Example Script

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,836All time:1,246
 This week:1This week:996Up
 User Ratings  
 All time