1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Double Metas and Fake $_SERVER['HTTP_REFERER']

Discussion in 'Black Hat SEO' started by advancedfuture, Dec 11, 2008.

  1. advancedfuture

    advancedfuture Junior Member

    Joined:
    Oct 18, 2008
    Messages:
    131
    Likes Received:
    78
    I read all this stuff about washing the refferer by doing meta refreshes. Wouldn't just doing this work? Would this essentially show up as the refferer as coming from google so it looks like im running a PPC campaign?

    PHP:
    <?php
        $_SERVER
    ['HTTP_REFERER'] = "http://www.google.com";
        
    $referer $_SERVER['HTTP_REFERER'];
        
        if(
    $referer == "http://www.google.com")
        {
            echo 
    "<meta http-equiv="refresh" content="0;url=http://www.youraffiliatelink.com">";    
        
    }
    ?>