enSo
Regular Member
- Jul 15, 2009
- 250
- 306
DMR = Double Meta Refresh and it's a surefire method to blank the referrer. If the operation doesn't succeed, the end user is sent to a page of your choice instead of the affiliate link.
There's a couple of scripts lying around on the internet, but here's how I like to do it:
you need 2 files: index.php and filter.php
You are going to upload these files on one of your domains in a folder called 'dmr'. You can name it whatever you want by the way, but it needs to be a separate folder.
index.php - you don't need to make any changes to this one, just copy/paste the code.
filter.php - change the urls between the quotes.
After you're done all you have to do is link to yourdomain.com/dmr/
If you want to use this to increase the traffic rank of one of your websites, you can also use a simple 1px iframe:
Enjoy ! 
There's a couple of scripts lying around on the internet, but here's how I like to do it:
you need 2 files: index.php and filter.php
You are going to upload these files on one of your domains in a folder called 'dmr'. You can name it whatever you want by the way, but it needs to be a separate folder.
index.php - you don't need to make any changes to this one, just copy/paste the code.
PHP:
<?php
$a = $_SERVER['PHP_SELF'];
$b = str_replace("index.php","filter.php",$a);
$c = $_SERVER['SERVER_NAME'];
$d = "http://".$c.$b;
echo "<meta http-equiv=\"refresh\" content=\"0;url=".$d."\">";
?>
PHP:
<?php
$mysite = "http://bargainscout.info/";
$afflink = "http://stardrifter.org/cgi-bin/ref.cgi";
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=".$afflink."\">";
}
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=".$mysite."\">";
}
?>
If you want to use this to increase the traffic rank of one of your websites, you can also use a simple 1px iframe:
Code:
<iframe width="1px" height="1px" src="http://yourdomain.com/dmr/" frameborder="0"></iframe>
Last edited: