goodlessons
Newbie
- Jun 26, 2009
- 33
- 7
Hey fellow BHWer's!
I'm not very html or php savvy yet, but I do have a little knowledge of the basics.
My question is... Is it possible to combine the two scripts shown below so that the URL in the address bar stays the same but the affiliate link is cloaked?
Can someone savvy fix the code for us BHWer's?
HERE IS THE HTML CODE FOR KEEPING THE ADDRESS URL THE SAME...
HERE IS TWO PHP SCRIPTS USED TO CLOAK YOUR AFFLINK WITH DOUBLE META REFRESH...
"GOTO PHP CODE"
"GOTO2 PHP CODE"
If any of you could help with this or have suggestions by all means please speak up, and if this helped any of you please give rep and click THANKS!
I'm not very html or php savvy yet, but I do have a little knowledge of the basics.
My question is... Is it possible to combine the two scripts shown below so that the URL in the address bar stays the same but the affiliate link is cloaked?
Can someone savvy fix the code for us BHWer's?
HERE IS THE HTML CODE FOR KEEPING THE ADDRESS URL THE SAME...
<html>
<head>
<script>window.status = ' ';</script>
<meta http-equiv="Content-Language" content="en-us">
<title>Welcome!</title><meta name="keywords" content="KEYWORDS GO HERE"/>
<meta name="description" content="DECRIPTION GOES HERE"/>
</head>
<frameset border="0" frameborder="0" marginleft="0" margintop="0" marginright="0" marginbottom="0" rows="100%,*">
<frame
src="HTTP://WWW.YOUR-AFFILIATE-LINK-GOES-HERE.COM"
scrolling="auto" frameborder="no" border="0" noresize>
<frame topmargin="0" marginwidth="0" scrolling="no" marginheight="0" frameborder="no" border="0" noresize>
<noframes>
<body>
</body>
</noframes>
</frameset>
</html>
HERE IS TWO PHP SCRIPTS USED TO CLOAK YOUR AFFLINK WITH DOUBLE META REFRESH...
"GOTO PHP CODE"
<?php
echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-WEB-ADDRESS.COM/goto2.php\">";
?>
"GOTO2 PHP CODE"
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-AFFIATE-LINK-HERE.COM\">";
}
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=HTTP://WWW.YOUR-WEB-ADDRESS-HERE.COM\">";
}
?>
If any of you could help with this or have suggestions by all means please speak up, and if this helped any of you please give rep and click THANKS!