kinghobo has asked for the wisdom of the Perl Monks concerning the following question:
I want to be able to set the HTTP_REFERER Enviroment variable. I've tried using the following
$ENV{'HTTP_REFERER'} "http://www.rt4all.com";
and if I use
print $ENV{'HTTP_REFERER'};
from the same piece of code it works ok. When I use the print from the cgi program I am calling the http_referer field is blank, I'm calling it by opening a new window using javascript and htmlprint "Content-type: text/html\n\n"; print <<"HTML code"; <SCRIPT language=JavaScript> function openwind() { win1=window.open('http://www.ringtones4all.com/cgi/topsite.cgi?value=$ +member', '',config='height=800,width=600') } </script>
Edit kudra, 2002-05-09 Fixed unclosed CODE tag, new title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: http_referer
by hopes (Friar) on May 09, 2002 at 07:08 UTC | |
|
Re: http_referer
by tadman (Prior) on May 09, 2002 at 08:08 UTC | |
|
(cLive ;-) Re: http_referer
by cLive ;-) (Prior) on May 09, 2002 at 10:15 UTC | |
by fraktalisman (Hermit) on Sep 26, 2003 at 12:57 UTC | |
by cLive ;-) (Prior) on Sep 26, 2003 at 16:58 UTC |