Class that lookup’s for a country code then it redirects (include files, or callbacks) the user to desired content you want. The function of this class is like Google that redirects users from countries that support google e.g. in UK when you enter google.com you will be redirected to google.co.uk and this is exactly what you can do with CountryDetector
This class is builded in static context for purpose of best usage. Also it is very easy to implement
We present you two new functions to simplify the work of handling country codes. These functions are:
Last Update | 2 November 2012 |
Published | 26 February 2010 |
High Resolution | No |
Compatible Browsers | IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge |
Files Included | HTML, PHP |
Software Version | PHP 8.x, PHP 7.x, MySQL 8.x, MySQL 5.x, Other |
Tags | country callback, country detector, country include file, country redirect |