RE: [PHP] Getting the URL that triggered a 404.
| From: | Brian McGarvie | Date: | Thu, 11 Jul 2002 15:59:54 +0000 |
| Subject: | RE: [PHP] Getting the URL that triggered a 404. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107164@lists.php.net to get a copy of this message | ||
you can get the webserver to redirect to a custom errorhandler that could be a php script to do
whatever you want.
> -----Original Message-----
> From: Robert Cummings [mailto:robert.cummings@webmotion.com]
> Sent: 11 July 2002 4:44 PM
> To: php-general@lists.php.net
> Subject: [PHP] Getting the URL that triggered a 404.
>
>
>
> When the 404 is caught and a PHP script is executed there doesn't
> appear to be any information in the environment variables indicating
> what URL triggered the 404. Could someone tell me how to obtain that
> information?
>
> Cheers,
> Rob.
> --
> .-----------------.
> | Robert Cummings |
> :-----------------`----------------------------.
> | Webdeployer - Chief PHP and Java Programmer |
> :----------------------------------------------:
> | Mail : mailto:robert.cummings@webmotion.com |
> | Phone : (613) 731-4046 x.109 |
> :----------------------------------------------:
> | Website : http://www.webmotion.com |
> | Fax : (613) 260-9545 |
> `----------------------------------------------'
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>