Faking the Referrer - Is it this Simple?...

cupid_stunt

Junior Member
Joined
Oct 30, 2008
Messages
188
Reaction score
229
Okay so I've see a lot of people on here want to know how to fake the referrer as I opposed to blanking it, but like many of them I am yet to find an answer.

Why can't I just go like this?:

www.BlackhatSite.com ----> Double Meta Refresh ----> www.whitehatsite/signup/offer1 ----> CPA Offer

The double meta-refresh would be two simple PHP pages of cause, and once it checks the referrer is blank it goes to a page on your whitehat site which redirects straight to the affiliate offer? Is it this simple?

This would mean the referrer as the blackhat site is most defnitely blank, and the page on the whitehat site would be a simple redirect or single meta redirect.

Would the referrer show as: www.whitehatsite/signup/offer1
Or am I missing something here? Wouldn't that seem legit, if on the whitehat site have banner on the actual pages which hyperlinked to www.whitehatsite/signup/offer1?

Or does it not store the referrer as my white-hat site if its a straight redirect?

Any help would be much appreciated,
Thanks
 
To explain further the code would be like this:

www.BlackhatSite.com --> Links to www.BlackhatSite.com/page1.php

www.BlackhatSite.com/page1.php
Code:
<?php
echo "<meta http-equiv="refresh" content="0;url=page2.php">";
?>

www.BlackhatSite.com/page2.php
Code:
<?php
 $page1 ="http://www.whitehatsite/signup/offer1";
 $referer = $_SERVER['HTTP_REFERER'];
 $mypages = array($page1);
 $myrandompage = $mypages[mt_rand(0, count($mypages) -1)];
 if($referer == "")
     {
         echo "<meta http-equiv="refresh" content="0;url=$myrandompage">";
     }
 else
     {
         echo "<meta http-equiv="refresh" content="0;url=page1.php">";
     }
 ?>


www.whitehatsite/signup/offer1 redirects straight to CPA offer

Would this work?
Thanks
 
Yes that would. Double check it by setting the redirect to my-i-p.com to see what the referrer is.
 
That can be done... but notice that you've increased the wating time, because the visitor actually have to visit several pages before he lands into the CPA offer.
In slower connection or even at peck times, this may make you lose some visitors along the way :)
 
That can be done... but notice that you've increased the wating time, because the visitor actually have to visit several pages before he lands into the CPA offer.
In slower connection or even at peck times, this may make you lose some visitors along the way :)

Yea that's always the downside. How could I speed it up? Or is there some other way I can use? Thanks
 
Why don't you just use CPAredirector on your whitehat page? Blanking the referrer and then redirecting to your whitehat page doesn't make sense, unless the whitehat page is just a 301 redirect, which again doesn't make sense..

edit: I just noticed this thread is 2 years old.. duh
 
Back
Top