Hiding referring url when masking affilliate links

Status
Not open for further replies.

nachoninja

Love the dog
Oct 3, 2006
4,039
49
0
Fleshlightville
Going to be setting up one domain for masking affiliate links, but I want the referring url to be blocked - any simple way to do this?

I'll be using a simple php jump style coding.
 


Yup... in php:

Code:
<?

$webpath = "http://www.affiliateoffer.com/";
echo "<html><body><script>";
echo "window.location = '$webPath'";
echo "</script></body></html>";

?>
You can also use meta refresh with nulls referrer as well.
 
Yup... in php:

Code:
<?

$webpath = "http://www.affiliateoffer.com/";
echo "<html><body><script>";
echo "window.location = '$webPath'";
echo "</script></body></html>";

?>
You can also use meta refresh with nulls referrer as well.

To test it out, use this script to redirect to another PHP page you have which records the referrer, and make sure it comes up blank.

For example :

Code:
      <?php
$ref = $_SERVER['HTTP_REFERER'];
echo "The Referrer is $ref";
      ?>
 
Status
Not open for further replies.