CodeCanyon Country Detect & Redirect 89383

CodeCanyon Country Detect & Redirect 89383

CodeCanyon Country Detect & Redirect 89383
PHP Script \ Navigation
Country \ Redirect \ File \ Detector \ Callback \ Include

PHP Script - Country Detect & Redirect 89383 by Laborator @ CodeCanyon

PHP Script \ Navigation

Last Update: 2 November 12; Compatible Browsers: IE6, IE7, IE8, Opera; Software Version: PHP 5.3; High Resolution: No; Files Included: HTML, PHP.

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 you will be redirected to 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

Update: 21 Nov, 2012
We present you two new functions to simplify the work of handling country codes. These functions are.

It returns the current country code of user in two (or three sometimes) uppercase initials.

The second CountryDetect function is “ is($country_code) ”, so you can easily check if its a specified country code in order to take an action.

It returns true or false, based on the condition of specified country code, which is case iNsEnSiTiVe.

Examples about usage of these functions are located on examples/7_get_country_code.php .

Updated There is added another function called


for purposes when you want to include just once a file, and ignore other below declaration lines


- Country detect then redirect

- Country detect then include a specific file

- Country detect then call a function defined by you (callback)


AsyncSlider; Mini Back-end Gallery v2 - Powerful Image Gallery; Mini Back-end Gallery; Flipper Poll; eContactor; Twitter Authentication (OAuth) Class; Cute Menu - 8 transitions pack.

Keywords: country callback, country detector, country include file, country redirect.

Tags: Country, Redirect, Include, Callback, Detect, Detector

Premium CodeCanyon Country Detect & Redirect 89383 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon Country Detect & Redirect 89383 for digital design and education. CodeCanyon Country Detect & Redirect 89383 desigen style information or anything related.


Add Comments:
Enter Code: *