Login   Register  
PHP Classes
elePHPant
Icontem

File: README

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Anish Karim C  >  Ip2Country  >  README  >  Download  
File: README
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: 6 months ago
Size: 859 bytes
 

Contents

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***********************
*********<thecoderin@gmail.com>*************************
*********Version: 0.1.1*********************************
*********Last Updated: April 7, 2014********************
********************************************************/