MandatoryMagic
Registered Member
- Jul 10, 2009
- 91
- 40
Okay, so if you don't know what Gump is it's a URL Rotator with Geo.
I think they stopped selling it or something so I can't really help you if you want it.
If you have it or are a PHP expert, I would REALLY APPRECIATE YOUR HELP!
Okay the rotator is obviously fucked up in mine so I did some minor editing but now it like goes in a loop instead of going to the page.
Anyways I think it has something to do with the bottom.
Also what does the field where he put "http://www.all-free-rewards.xyz/index.php?p=12" mean?
It might also be helpful to know that I set $blank to 0 for it not to use the DMR since I use Brads CPA Redirector. And because of that deleted some non important lines. But I was careful and since it's on 0 it won't use those codes of line anyways.
Here's the code:
THANKS A LOT GUYS!
Maybe people with gump could just post their url rotator code?
Or PHP people could probably just spot a simple problem.
I think they stopped selling it or something so I can't really help you if you want it.
If you have it or are a PHP expert, I would REALLY APPRECIATE YOUR HELP!
Okay the rotator is obviously fucked up in mine so I did some minor editing but now it like goes in a loop instead of going to the page.
Anyways I think it has something to do with the bottom.
Also what does the field where he put "http://www.all-free-rewards.xyz/index.php?p=12" mean?
It might also be helpful to know that I set $blank to 0 for it not to use the DMR since I use Brads CPA Redirector. And because of that deleted some non important lines. But I was careful and since it's on 0 it won't use those codes of line anyways.
Here's the code:
PHP:
<?php
$mygc='geo/gc.php';
$gc=$mygc.'?ip='.$_SERVER['REMOTE_ADDR'];
$affpage='http://www.google.com';
//Default aff page to redirect to.
//This page will be sent to the user if they are not in the allowed country list
//(This means that if you dont have an offer set up for UK, and someone from the UK goes to your script,
//they will be redirected here//
// The geo variable turns geotargetting on and off
// 1 is on, 0 is off.
//highly recommended to leave on.
$blank=0;
//If they are redirected somewhere, they will have a blank referrer. Dont change.
$geo=1;
//WORDPRESSVAR
$countries=' US CA';
$us='offer1.com
offer2.com
';
$ca='offer1ca.com
offer2ca.com';
if ($geo==1) {
$cc=file_get_contents($gc);
if (strlen(strstr($countries,$cc))>0) {
if ($cc=='US') {
$offers=$us;
$blank=0;
$whindex='http://www.all-free-rewards.xyz/index.php?p=12';
}
}
}
if ($blank==1) {
echo '<script type="text/javascript">';
echo 'window.location = "'.$dmr.$affpage.'"';
echo '</script>';
} else {
echo '<body onload="javascript:fm2.submit();">';
echo '<form action="' . $whindex . '" method="post" name="fm2">';
echo '<input type="hidden" name="re" value="'. $affpage . '">';
if ($wpon==1) {
echo '<input type="hidden" name="'.$wpvar.'" value="1">';
}
echo '</form>';
}
?>
Maybe people with gump could just post their url rotator code?
Or PHP people could probably just spot a simple problem.
Last edited: