RE: PHP rotator script
I need a rotator script using geotargeting that will send top tier traffic (say US, GB, AUS etc.) to "landing page 1" and all other traffic to "landing page 2". I'm not worried about sub id's or anything like that.
I used to use this for CPA:
<?php
//country code redirect
require_once('geoplugin/geoplugin.class.php');
$geoplugin = new geoPlugin();
$geoplugin->locate();
$country_code = $geoplugin->countryCode;
switch($country_code) {
case 'US':
$url = "AFF_LINK&aff_sub=" . $_GET['a'] . "&aff_sub2=" . $_GET['b'] . "&aff_sub3=" . $_GET['c'];
break;
default: // exceptions
$url = "HOMEPAGE";
break;
}
header("Location:$url");
die;
?>
Can this be modified to do what I need? I understand basic html but this is above my head. Thanks.
Michelle
.
⨠Here's How to Make Your First $177 Online
This Week Using the Piggyback Method...
.
Reviews: Need a good VPS, dedicated server, or unlimited host? (This is NOT a fake "top 10" list!)