Originally Posted by shabbir
hey yes ive seen but the modification seems not that obvious,
have a look:
// include functions
// read GeoIP database
// map IP to country
echo "IP address 18.104.22.168 located in "
. " (country code "
// close database handler
// 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