Yeah, but your script would die if $ref wasn't set.
Yeah, but your script would die if $ref wasn't set.
lol, k...fair enoughas i say, didnt think too much about it
![]()
<insert signature here>
it works perfect.Code:<?php if ($_GET["ref"]) { $ref=$_GET["ref"]; } print("<meta http-equiv='refresh' content='0; url=$ref'>"); ?>Do you any place were i could set this up for free ?
Do you guys know how to do this in javascript? It would help me out alot better.![]()
![]()
![]()
Use document.referrer, but this isn't advised.
Am not exactly sure how to implement this? How would I work this?Originally posted by haxor41789@13 February 2004 - 00:50
Use document.referrer, but this isn't advised.
Use it like any other JavaScript variable. For example...
This goes in the <head> tag of course.Code:<script type="text/javascript"> var ref=document.referrer; if(ref!=""&&ref!=null) { document.writeln("<meta http-equiv=\"refresh\" content=\"0; url="+ref+"\" />") } </script>![]()
test
anyone feel free to use![]()
![]()
![]()
It seems to work but I need to add some code to remove the ad frame. Do you know me how?
This looks like it could work but am not sure how to add it to the php script?
*update*
This also looks like it could work. How would I add it?Code:<script LANGUAGE="JavaScript"> if (top != self) {top.location.href = self.location.href;} </SCRIPT>
Bookmarks