Luinrandir Hernson wrote:: 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.
Two thoughts:
* The env variable is actually spelled HTTP_REFERER (which is wrong,
but that's how it's spelled)
* The browser may not be passing a referer. Sometimes they don't; some
agents, like a lot of robots, never do.
-- tdk
- $ENV(HTTP_REFERER)? Dianne Van Dulken
- Re: $ENV(HTTP_REFERER)? Luinrandir Hernson
- RE: $ENV(HTTP_REFERER)? Joe Schulman
- RE: $ENV(HTTP_REFERER)? Joe Schulman
- Re: $ENV(HTTP_REFERER)? Randal L. Schwartz
- RE: $ENV(HTTP_REFERER)? Dianne Van Dulken
- RE: $ENV(HTTP_REFERER)? Aaron Craig
- Re: $ENV(HTTP_REFERER)? Timothy Kimball
- Re: $ENV(HTTP_REFERER)? Timothy Kimball
- Re: $ENV(HTTP_REFERER)? Luinrandir Hernson
- RE: $ENV(HTTP_REFERER)? Mo Holkar / UKG
- Re: $ENV(HTTP_REFERER)? Randal L. Schwartz
- Re: $ENV(HTTP_REFERER)? Luinrandir Hernson
- Re: $ENV(HTTP_REFERER)? Brett W. McCoy
- Re: $ENV(HTTP_REFERER)? john mckeown
