da buck
Regular Member
- Feb 24, 2008
- 317
- 116
I mentioned this in another thread, but I'm not sure if I made sense. I have a domain that I purchased to use specifically for a CPA offer. I am currently using a double meta refresh to hide my referrer. What I don't like is that it is taking people away from the URL I just purchased and shows the URL of the CPA product. If I iframe using the following code will it still hide my referrer from the network?
mysite.com
mysite.com/refresh1.php
mysite.com/refresh2.php
mysite.com
Code:
<html>
<head>
<title>Title</title>
</head>
<body style="margin: 0px; padding: 0px;" scroll="no">
<div style="display: none;">Blah Blah Blah Content</div>
<iframe src="http://www.mysite.com/refresh1.php" style="border: 0px; width: 100%; height:100%;"></iframe>
</body>
</html>
mysite.com/refresh1.php
Code:
<?php
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.mysite.com/refresh2.php\">";
}
?>
mysite.com/refresh2.php
Code:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=http://affiliatesite.com">";
}
?>