captainbrian
Junior Member
- Sep 22, 2008
- 109
- 28
martin posted how to blank referer.. but it was said that doesnt work in opera.. any one know code to blank in all browsers?
I always just used javascript. Never used to pass anything. Maybe they've changed things? I'd probably just create a landing page with an iframe inside that uses a framebreaker. Or use flash. I'll have to try some stuff out tomorrow.
<?php
/*
Name this dmr.php
Use: dmr.php?url=http://www.ebay.com/i-am-a-nice-affiliate
*/
dmr();
function dmr() {
$url = $_GET['url'];
// Where you will send them if it fails
$crap = 'http://your-best-viagra-rimjobs.com/vicodin-sluts';
if ( $_SERVER['HTTP_REFERER'] == "" ) {
// If it's blank, who the hell cares?
refresh($url);
die();
} else if ( $_GET['tried'] == '1' ) {
// Already tried it, fuck it. Zango city.
refresh($crap);
} else {
// Let's try this one more time
refresh( "dmr.php?url=" . urlencode($url) .
"&tried=1" ); // I mean it, one more try
}
}
function refresh($url) {
echo "<meta http-equiv='refresh' content='0; url=$url'>";
}
?>