Incentive Fake The Referrer When Using Double Meta Refresh

Discussion in 'Cloaking and Content Generators' started by cmiddlet78, Oct 7, 2008.

  1. cmiddlet78

    cmiddlet78 Registered Member

    Joined:
    Mar 13, 2008
    Messages:
    73
    Likes Received:
    21
    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
     
  2. spag

    spag Newbie Premium Member

    Joined:
    Sep 16, 2008
    Messages:
    18
    Likes Received:
    1
    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.
     
  3. cmiddlet78

    cmiddlet78 Registered Member

    Joined:
    Mar 13, 2008
    Messages:
    73
    Likes Received:
    21
    Last edited: Oct 7, 2008
  4. jammie

    jammie Power Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    455
    not really, just use a nested if.

    "if referer = source 1 {location:eek:ffer1.com}
    else if referer = source2 {location:eek:ffer2.com"

    etc. etc. etc. use it as a gateway.
     
  5. cmiddlet78

    cmiddlet78 Registered Member

    Joined:
    Mar 13, 2008
    Messages:
    73
    Likes Received:
    21
    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.
     
  6. forgot

    forgot Senior Member

    Joined:
    May 3, 2008
    Messages:
    936
    Likes Received:
    707
    Location:
    BlackhatWorld
    can it get banned from cpa? i know yes.
     
  7. jammie

    jammie Power Member

    Joined:
    Feb 24, 2008
    Messages:
    773
    Likes Received:
    455
    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 =]