I have a php document which I direct my server to use as a 404 error

In it I write:

print "$REQUEST_URI\n";
print "$HTTP_REFERER\n";

The thing is I get the the error page itself in place of $REQUEST_URI
and $HTTP_REFERER is blank.

any suggestions as to how I can get the URL which the user entered?
I'm runnig Apache on RedHat 7.2


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to