I have a script that I link to from my pages (a refer a friend script). At first I used a normal html link to the script and the HTTP_REFERER worked. I need it to work because it depends on the page they are on that gets advertised. If they were on cats.html and pressed the link, it would use the www.page.com/cats.html in the email. This works PERFECTLY, it works.
The problem lies when I make a new custom javascript window from the link.
Now, when it loads raf.pl (Refer a Friend), it doesn't record the referer.<A HREF="javascript:window.open('raf.pl', '','toolbar=no width=400 height=500 scrolling=yes'); void('');">
Can someone give me any ideas on how to get this to work? I was thinking about using a form with a hidden field, but I don't want to use a form button. Is there a way to make a form link instead and have it open in a presized window?
This isn't a strictly JS question or an HTML question, but a combination of those and perl, so don't downvote or delete this post. I really need help on this.
In reply to http referer by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |