If someone can please help me with this and tell me why it's not working I would really appreciate it. This is on my tracking server to hand off to Prosper for tracking traffic and routing to different CPA offers. Traffic coming from Facebook for testing. PHP Code: <?php
Help with GeoRedirection script
11
If someone can please help me with this and tell me why it's not working I would really appreciate it. This is on my tracking server to hand off to Prosper for tracking traffic and routing to different CPA offers. Traffic coming from Facebook for testing.
Thank you for any help.
PHP Code:
<?php
$CountryCode = geoip_record_by_name( $_SERVER["REMOTE_ADDR"] );
// ****DO NOT TOUCH ABOVE THIS LINE.******
// link destination for creatives *****track.info/track/ayiau/index.php?
$t202id = $_GET['id'];
$t202kw = $_GET['kw'];
$country = $_GET['c1'];
$c2 = $_GET['c2'];
$c3 = $_GET['c3'];
$c4 = $_GET['c4'];
if($CountryCode=="AU")
{
header('Location: http://*****ftrack.info/tracking202/redirect/dl.php?t202id=3227'.$t202id.'&t202kw='.$t202kw.'&c1='.$country.);
}
else if($CountryCode=="US")
{
header('Location: http://******ftrack.info/tracking202/redirect/dl.php?t202id=7214'.$t202id.'&t202kw='.$t202kw.'&c1='.$country.);
}
else if($CountryCode=="UA")
{
header('Location: http://foto.ua');
}
//Change this to reflect your international offers for country codes not listed above. This is for the US offer
else
{
header('Location: http://******track.info/tracking202/redirect/dl.php?t202id=7214'.$t202id.'&t202kw='.$t202kw.'&c1='.$country.);
}
?> - seanmathes
- mojojuju
- seanmathes
- mojojuju
- [1] reply
- MarketingJessie
- [1] reply
- Valdor Kiebach
- [1] reply
- mojojuju
- [ 1 ] Thanks
- [1] reply
Next Topics on Trending Feed
-
11