PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Anish Karim C  >  Ip2Country  >  README  >  Download  
Role: Auxiliary data
Content type: text/plain
Description: Readme file
Class: Ip2Country
Detect the country and region of an IP address
Author: By
Last change:
Date: 1 year ago
Size: 859 bytes


Class file image Download
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***********************
*********Version: 0.1.1*********************************
*********Last Updated: April 7, 2014********************