Double Metas and Fake $_SERVER['HTTP_REFERER']

advancedfuture

Junior Member
Joined
Oct 18, 2008
Messages
131
Reaction score
79
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">";    
    }
?>
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock