Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http referer
by etcshadow (Priest) on Feb 04, 2004 at 03:14 UTC | |
by Anonymous Monk on Feb 04, 2004 at 03:16 UTC | |
by BUU (Prior) on Feb 04, 2004 at 05:21 UTC | |
by Anonymous Monk on Feb 04, 2004 at 05:42 UTC | |
by merlyn (Sage) on Feb 04, 2004 at 13:07 UTC | |
|
Re: http referer
by Cody Pendant (Prior) on Feb 04, 2004 at 04:33 UTC | |
by Anonymous Monk on Feb 04, 2004 at 05:14 UTC | |
| |
|
Re: http referer
by The Mad Hatter (Priest) on Feb 04, 2004 at 03:08 UTC | |
by Anonymous Monk on Feb 04, 2004 at 03:20 UTC | |
|
Re: http referer
by Anonymous Monk on Feb 04, 2004 at 03:06 UTC |