RE: [PHP] Getting the Referrer
| From: | Matthias Endler | Date: | Mon, 16 Oct 2000 17:28:07 +0000 |
| Subject: | RE: [PHP] Getting the Referrer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20400@lists.php.net to get a copy of this message | ||
Hi Jaques,
> I've created a script (PHP3) that replaces our current file that displays
> the 404(File not found) error.
> It logs the details of the user when the file gets accessed. Problem is it
> doesn't give me the page the user tried to access when the error occurred.
> How do I get these details. I try to use REFERRER but it's always
> empty. Any
> ideas?
usually you should see it in your $QUERY_STRING environment variable like
this "404;http://some.host/error/page/not/here"
Hope this helps
Matthias aka Matthew