Would this work?

Status
Not open for further replies.

da buck

Regular Member
Joined
Feb 24, 2008
Messages
317
Reaction score
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
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">";    

    }

?>
 
Just a quick note. This won't work in IE. The final page does not load.
 
ohhh nice find.. i would have lost so many conversions lol
 
Just a quick note. This won't work in IE. The final page does not load.


I had some issues with FF3 as well. Supposedly for some redirects FF3 has a security feature which prevents multiple redirections until disabled *sigh*
 
Status
Not open for further replies.
Back
Top