CodeCanyon

Country Detect & Redirect

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

Updated

There is added another function called

includeFileOnce

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

Features

  • Country detect then redirect
  • Country detect then include a specific file
  • Country detect then call a function defined by you (callback)

Requirements

PHP 5

My profile stats

Flag Counter

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), or intranet site project - Details

$15Extended Licence

$15

Extended Licence a website template for sale (including on ThemeForest or ActiveDen) - Details

190 Purchases 42 Comments

Buyer Rating
12345 ( 28 ratings )
arl1nd

arl1nd

  • Has been a member for 2-3 years
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Albania
  • Referred between 1 and 9 users
View Portfolio
Created 26 February 10
Compatible Browsers Chrome 4, Chrome 5, FireFox 2, FireFox 3, IE6, IE7, IE8, Opera
Software Version PHP 5.x
Software Framework N/A
Files Included HTML, PHP
by
by
by
by
by