That's illegal, BTW.
Try adding <plaintext> and </plaintext> around the ads script, and in CSS, do...
Code:plaintext { display : none; left : -1000ex; position : absolute; top : -1000ex; }
That's illegal, BTW.
Try adding <plaintext> and </plaintext> around the ads script, and in CSS, do...
Code:plaintext { display : none; left : -1000ex; position : absolute; top : -1000ex; }
Really. I did not know that. I did not think so because it a site outside of members.lycos.co.uk. oh well i guess i can live with it. (the ad)
I can not edit any of the ad code.Originally posted by haxor41789@13 February 2004 - 19:52
That's illegal, BTW.
Try adding <plaintext> and </plaintext> around the ads script, and in CSS, do...
Code:plaintext { display : none; left : -1000ex; position : absolute; top : -1000ex; }
am guesing if i edit
to be likeCode:print("<meta http-equiv='refresh' content='0; url=$ref'>");
it could work.Code:print("<meta http-equiv='refresh' content='0; url=$ref'>"<script LANGUAGE="JavaScript"> if (top != self) {top.location.href = self.location.href;} </SCRIPT>);
I was just wondering, what's the reason for you not wanting to show your website as a referrer ?
I mean, I can't think of any good reason off my head right now... and HTTP Referrers is an important thing for webmasters (to know where their traffic is coming from), for many reasons.
Just wondering.
Btw, I believe your last piece of code would generate a parse error.
I want to link to sites that..... may not approve of the subject.Originally posted by Ynhockey@13 February 2004 - 23:30
I was just wondering, what's the reason for you not wanting to show your website as a referrer ?
I mean, I can't think of any good reason off my head right now... and HTTP Referrers is an important thing for webmasters (to know where their traffic is coming from), for many reasons.
Just wondering.
Btw, I believe your last piece of code would generate a parse error.
do you know how to make it work. php is not my forteI believe your last piece of code would generate a parse error.
You're treating $ref as a string literal without an unescape -- $ is a reserved character.
That should do it.Code:echo '<meta http-equiv="refresh" content="0; url='; echo $ref; echo '" />';
echo "<meta http-equiv='refresh' content='0; url='".$ref."'>\n
<script type=\"text/javascript\">\n
if (top != self) \{ top.location.href = self.location.href; }\n
</script>";
There's still a slight chance that it will generate a parse error (didn't test it), but i think it won't.
Good luck
This works perfect now. Thanks everybody.Code:<?php if ($_GET["ref"]) { $ref=$_GET["ref"]; }echo '<meta http-equiv="refresh" content="0; url='; echo $ref; echo '" />'; echo '<script language="javascript"><!-- if (self.location.href != top.window.location.href) { top.window.location.href = self.location.href } //--></script> '; ?>
Test
Special thanks goes to haxor41789 for the php help.
Works in both Mozilla and Internet Explorer even with ad muncher running.
Good job.
I decided to add an link too. I find it kind of cumbersome to use a bunch of echo(s).Code:<?php if ($_GET["ref"]) { $ref=$_GET["ref"]; }echo '<meta http-equiv="refresh" content="0; url='; echo $ref; echo '" />'; echo '<script language="javascript"><!-- if (self.location.href != top.window.location.href) { top.window.location.href = self.location.href } //--></script> '; echo '<br>'; echo '<a href="'; echo $ref; echo '">'; echo $ref; echo '</a>'; ?>
Bookmarks