Error Pages.
| From: | Sven-Emil Vaara | Date: | Mon, 27 Nov 2000 17:16:05 +0000 |
| Subject: | Error Pages. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27405@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to make a Errorpage that will display the wrongly entered
request.
For instance, domain.com/test.html
and file doesn't exist it generates a 404 error, which I have a page for.
How do I get my 404.php to point to domain.com/test.html or just test.html,
either or.
Using REQUEST_URI now, but it returns the 404.php (redirected uri) instead
of the original one.
Anyone know what I could use (tried http_referer too, didn't work).
Sven-Emil Vaara