PHP Classes

Country From IP: Lookup the country of a given IP address

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 9,833 All time: 145 This week: 198Down
Version License Categories
countryfromip 1.0.0GNU General Publi...Networking, PHP 5, Geography
Description 

Author

This class can determining country of the network of a given IP address looking up a simple text database file.

It can also determine the path of an image file of the flag of a given country.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan <contact>
Classes: 54 packages by
Country: India India
Innovation award
Innovation award
Nominee: 15x

Winner: 3x

  Files folder image Files  
File Role Description
Plain text file CountryFromIP.inc.php Class Get Country and Flag from IP
Accessible without login Plain text file CountryIPDatabase1of5.txt Data CountryIPDatabase1
Accessible without login Plain text file CountryIPDatabase2of5.txt Data IP Database2 of 5
Accessible without login Plain text file CountryIPDatabase3of5.txt Data CountryIPDatabase
Accessible without login Plain text file CountryIPDatabase4of5.txt Data CountryIPDatabase
Accessible without login Plain text file CountryIPDatabase5of5.txt Data CountryIPDatabase
Accessible without login Plain text file Example.php Example Example Script
Accessible without login Plain text file READ_ME.txt Doc. Instructions

 Version Control Unique User Downloads Download Rankings  
 0%
Total:9,833
This week:0
All time:145
This week:198Down
User Ratings User Comments (4)
 All time
Utility:60%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:61%StarStarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2420
 
Does what it's supposed to do.
14 years ago (F Philip DeGeorge)
67%StarStarStarStar
Didn't work.
14 years ago (Aaron)
40%StarStarStar
do you have an updated list of country IP's because whats app...
15 years ago (ray anthony)
70%StarStarStarStar
This is PHP5, with minor modifications to class structure wil...
15 years ago (Lassi A Liikkanen)
35%StarStar