|
|
 |
Re: FN-FORUM $ENV{'HTTP_REFERER'}
date posted 1st December 2000 15:50
At 14:50 01/12/00 , you wrote:
>I hope someone with some *nix knowledge can help please.
>
>Im coding up a script that depends on the $ENV{'HTTP_REFERER'} CGI
>environment variable and I've been having problems. Upon further
>investigation (thinking my code was wrong, which it isn't) I found out that
>for some god forsaken reason scripts that previously worked ok are now not
>seeing this environment variable and its driving me mad.
>
>Something must have changed on the server itself and I have not got the
>fogiest idea where to start looking.
Are other environment variables being set?
What output do you get from this CGI script:
#!/usr/bin/perl
print "Content-type: text/plain
";
for (keys %ENV)
{
print "$_ ----> $ENV{$_}
";
}
|
 |
|