Simple PHP Script from CodeCanyon for redirecting traffic based on country.
This class is builded in static context for purpose of best usage. Also it is very easy to implement
•Country detect then redirect
•Country detect then include a specific file
•Country detect then call a function defined by you (callback)