Faking the refere to maindomain

Discussion in 'Cloaking and Content Generators' started by ExobiT, Dec 17, 2010.

  1. ExobiT

    ExobiT Junior Member

    Joined:
    Apr 21, 2008
    Messages:
    156
    Likes Received:
    27
    Hi

    I have my domain.com on this domain i have an advert, this advert is not allowed to be run on FB or anything like that

    So i create this ur domain.com/bla/bla that redirects to the advertising url with my tracking stats..

    I want the refer to be from domain.com and not domain.com/bla/bla is that possibel ?
     
  2. JesusBack

    JesusBack Senior Member

    Joined:
    Sep 15, 2010
    Messages:
    1,159
    Likes Received:
    1,288
    Occupation:
    Almost done :D
    Location:
    {calm|cool|collected}
    code for the page (/cool/cool)
    <?php
    $aff = $_GET['url'];
    if(isset($_GET["coolcode"])) header("Location: http://www.domain.com?coolcode=1&url=$aff");
    ?>

    code for index page
    <?php
    $aff = $_GET['url'];
    if(isset($_GET["coolcode"])) header("Location: $aff");
    ?>

    cheers
    note: this isn't reffer proof, look into CPA Redirector
    http://www.contentgeneration.org/cpa-redirector-2/

    and reimplement it into there.
     
    • Thanks Thanks x 1
    Last edited: Dec 18, 2010
  3. ExobiT

    ExobiT Junior Member

    Joined:
    Apr 21, 2008
    Messages:
    156
    Likes Received:
    27

    Cool thanks (y)