Originally Posted by shabbir View Post
hey yes ive seen but the modification seems not that obvious,
have a look:

<?php // include functions include("geoip.inc"); // read GeoIP database $handle = geoip_open("GeoIP.dat", GEOIP_STANDARD); // map IP to country echo "IP address located in " . geoip_country_name_by_addr($handle, "") . " (country code " . geoip_country_code_by_addr($handle, "") . ")"; // close database handler geoip_close($handle); // print compulsory license notice echo "<p> -- This product includes GeoIP data created by MaxMind, available from http://maxmind.com/ --"; ?>

this code is suspossed to read the country code by using function include(). but now im not sure how to make working variabilities to redirect people from 9 countries [3 groups each for 3 countries] to 3 different adresses also not sure what kind iof redirect should be used.
if somebody could have a look at this i would be pleased