The $_SERVER environment variables should be there, I'm using them.

Henning Sittler
www.inscriber.com



-----Original Message-----
From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:00 PM
To: Robert Cummings; [EMAIL PROTECTED]
Subject: RE: [PHP] Getting the URL that triggered a 404.


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:[EMAIL PROTECTED]]
> Sent: 11 July 2002 4:44 PM
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED] |
> | 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
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to