I too have a question about this.
below is the code:
open(A,">>/home/thx-1138/cgi-bin/data/refs.htm");
print A "$ENV{'HTTP_REFERRER'}\n";
close (A);
The file opens, prints a return/linefeed and closes...
any ideas why this wont work???
it looks correct to me from what i have read.
Lou
----- Original Message -----
From: Dianne Van Dulken
To: '[EMAIL PROTECTED]'
Sent: Wednesday, June 06, 2001 9:57 PM
Subject: $ENV(HTTP_REFERER)?
Hi,
I had already posted this to beginners@perl <mailto:beginners@perl> , but
someone there suggested I try here as well.
I was hoping someone would be able to give me a clue how I could find the
referer IP. If I use the Environment HTTP_REFERER, it will work in IE, but
not in Netscape.
Does anyone know of another method that allows me to read this?
Thanks
Dianne