$5 paypal to the first person to help me with this script!

magcshroom

Regular Member
Joined
Nov 7, 2008
Messages
281
Reaction score
122
Ok, so basically i need to be able to send traffic to 1 link, and then randomly send clicks to my affiliate links. I have tested the script and it fakes the referrer 100%. Anyways, i need the code edited so i can add as many affilaite links as i want, and then the code chooses a random one and sends the traffic. First person gets $5!

Code:
<?php

$site1 = "http://www.site1.com";
$affiliate_link = "http://www.youroffer.com";

if($_SERVER['HTTP_REFERER'] == $site1)
{
	echo "<body onload=\"javascript:frmClickTracking.submit();\">";
	echo "<form action=\"" . $affiliate_link . "\" method=\"post\" name=\"frmClickTracking\">";
	echo "</form>";
}

?>

^^^ That is my code i paste into my index.php file.

Code:
<?php

$site2 = "http://www.yoursite2.com";

echo "<body onload=\"javascript:frmClickTracking.submit();\">";
echo "<form action=\"" . $site2 . "\" method=\"post\" name=\"frmClickTracking\">";
echo "</form>";

?>


^^ that is my site1.php file. I send all my junk traffic to that and then it will redirect it to my affiliate link. But, now i need someone to be able to allow it to choose a random one. Thanks!
 
Back
Top