Login   Register  
PHP Classes

bbIPtoCountry: Determine the country of a given IP address

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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,823 This week: 1All time: 1,235 This week: 1,361Down
Version License Categories  
bbiptocountry 1.0GNU General Public Lice...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 ip-to-country.webhosting.info .

Picture of Bogac Bokeer
Name: Bogac Bokeer <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 40
All time rank: 69011 in Turkey Turkey
Week rank: 1041 Down15 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,823All time:1,235
 This week:1This week:1,361Down
 User Ratings  
 All time