Incentive Fake The Referrer When Using Double Meta Refresh

cmiddlet78

Junior Member
Joined
Mar 13, 2008
Messages
108
Reaction score
39
Hello BHTers,

If I was to set up an CPA incentive site and wanted to fake the referrer when using double meta refresh for all my offers would I have to create double meta refresh pages with fake referrer for EACH offer on my offers page:confused:

Thanks,
Cmiddlet78
 
You cannot fake the referrer using a double meta, it can only be done in php (to my knowledge). The double meta will blank the referrer only.
 
not really, just use a nested if.

"if referer = source 1 {location:offer1.com}
else if referer = source2 {location:offer2.com"

etc. etc. etc. use it as a gateway.
 
not really, just use a nested if.

"if referer = source 1 {location:offer1.com}
else if referer = source2 {location:offer2.com"

etc. etc. etc. use it as a gateway.

This is new to me. I will have to research this. If some1 can tell me a little more about nested if that would be great.
 
nested if statements are just lots of "if" statements used together.

think of it like this:

if the referrer comes from website A:
redirect them to a CPA offer
etc.

it'd look something like this:

PHP:
<?php

    $referer = $_SERVER['HTTP_REFERER'];

    if($referer == "hxxp://www.your-fake-referrer.com")
    {
     header('Location: hxxp://www.your-CPA-offer-for-fake-referrer.com/');
    }

just copy from the "if" to the "}" (the last line) and paste it there as many times as you need. That'll forward based upon the current http referer & not blank it when it does.

hope this helps =]
 
Back
Top