Recommend this page to a friend! |
Download .zip |
Info | View files (3) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2014-04-08 (2 years ago) | Not enough user ratings | Total: 738 | All time: 4,332 This week: 902 |
Version | License | PHP version | Categories | |||
ip-country 0.1.1 | GNU General Publi... | 5.3 | Networking, PHP 5, Web services, Geog... |
Description | Author | ||||||||
This class can detect the country and region of an IP address. |
|
ip2Country is a PHP based class, helps loading or redirecting region-based website, to make sure each area is viewing the currect website. This class uses ip2country API to determine the country of the visitor, by finding the visitors IP and making sure it is not an internal IP. We are also using ipMango API to find the actual IP on all other methods failed. Currently we have included US, Canada, Europe and Asia Pacefic regions. You can extend the functionality by adding additional regions and country codes in the class. Examples are given in PHP class. /********Developed By: Anish Karim*********************** *********<thecoderin@gmail.com>************************* *********Version: 0.1.1********************************* *********Last Updated: April 7, 2014******************** ********************************************************/ |
Files |
File | Role | Description |
---|---|---|
index.php | Example | Example Script. |
ip2country.class.php | Class | ip2country class file |
README | Data | Readme file |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.