Need help with Double Meta Refresh!

blackhatnewb

Newbie
Joined
May 7, 2010
Messages
22
Reaction score
0
Hey, i'm trying to set up double meta refresh on one of my sites... I got a new domain and created 2 html files with the code in each file.. when I go to my site though it shows this http://i41.tinypic.com/xpnb7b.jpg

any help is appreciated! thanks.
 
i am almost done helping the guy, he is new to php/programming and the main problem is the files have .html extension but the coding is correct
 
alright I changed the 2.html files to .php and it's still showing me those tags on the site and not redirecting

here is the code i'm using

Page 1

Code:
html>
<body>
<?php echo "<meta http-equiv=\"refresh\"content=\"0;url=http://blogger064.byethost10.com/goto.php\">"; ?>
</body></html>
 
 
 
Page 2
 
<html>
<body>
<?php
$page1 = "[URL="http://www.google.com/"]http://www.google.com[/URL]"; $page2=" [URL]http://www.google.com/1[/URL]"; $page3 = " [URL]http://www.google.com/2[/URL]"; $page4= " [URL]http://www.google.com/3[/URL] $referer= $_SERVER['HTTP_REFERER']; $mypages = array($page1, $page2, $page3, $page4); $myrandompage= $mypages[mt_rand(0, count($mypages) -1)]; if($referer=="") { echo "<meta http-equiv=\"refresh\" content=\"0;url=$myrandompage\">";} else { echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.google.com\">"; } ?>
</body>
</html>


these are both in .php format.. is the code correct? still showing tags on the site! =/
 
Last edited by a moderator:
Does the above blank the referer? What do you tell your CPA networks when they question your traffic?
 
well... i'm assuming they won't e-mail me and ask me about my traffic.. if anything I will probably just get banned if they don't see what they like and then move on to the next network and adjust what i'm doing to not make it look obvious
 
This is the DMR I use

Code:
STEP 1 (URL 1)

<?php
    $referer = $_SERVER['HTTP_REFERER'];
    if($referer != "")
    {
        echo "<meta http-equiv=\"refresh\" content=\"0;url=URL2\">";    
    }
?> 


STEP 2 (URL 2 GOES TO CPA SITE)

<?php
    $referer = $_SERVER['HTTP_REFERER'];
    if($referer == "")
    {
        echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.youraffiliatelink.com\">";    
    }
?>
 
Does anyone know how to check this so I know the referer is hidden??
 
FYI, from my experience as a programmer, hiding the referrer isn't this easy as IE and Firefox (plus other major browsers), I believe this kid of method will work on firefox but try it in IE and you will see a different result

please correct me if I am wrong
 
What's different in IE than firefox when hiding the referrer?
 
i'm not very sure what the exact thing is but basically IE is here on this earth to make programmers like me suffer

i programmed a similar script about 6 months to a year ago so I can't remember the specifics but if the problem is still there, when you test your referral script, the referrer will be hidden when you use FF but not IE (I believe the result for other browsers is the same with Firefox)
 
Back
Top