yuemyutu
Registered Member
- Apr 5, 2008
- 67
- 754
I havent tested this thoroughly, it may contain runtime bugs, but it can be modified to work, and im pretty sure it will out of the box.
Add this to a php file on Site A. Edit $site2 to url of Site B
Code:<?php $site2 = "http://www.yoursite2.com"; echo "<body onload=\"javascript:frmClickTracking.submit();\">"; echo "<form action=\"" . $site2 . "\" method=\"post\" name=\"frmClickTracking\">"; echo "</form>"; ?>
Add this to the top of index.php on Site B. Edit $site1 to equal whatever the full url of the php file created on Site A. Edit your affiliate offer link for $affiliate_link
You send EMAIL traffic to site a, it bounces it to site b with a referer of site a, if the referer was bounced correctly, it bounces it to your affiliate link with a referer of site b.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>"; } ?>
I used this method and it shows that the referrer page is page2 when you send the blackhat traffic to page1. However, the problem is that if the affiliate network want to check your page2 source code they will see the following on page2;
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>";
}
?>
so they can figure it out and find your secret page1. Am I missing something? Confused..