note 17605 added to language.variables.predefined
| From: | usenet6 at HooverNebrig dot com | Date: | Mon, 17 Dec 2001 02:07:23 +0000 |
| Subject: | note 17605 added to language.variables.predefined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22950@lists.php.net to get a copy of this message | ||
I have a php document which I direct my server to use as a 404 error doc.
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
--
http://www.php.net/manual/en/language.variables.predefined.php
http://master.php.net/manage/user-notes.php?action=edit+17605
http://master.php.net/manage/user-notes.php?action=delete+17605
http://master.php.net/manage/user-notes.php?action=reject+17605