Re: [PHP] Getting the URL that triggered a 404.

2002-07-11 Thread Robert Cummings
Henning Sittler wrote: > > The $_SERVER environment variables should be there, I'm using them. My mistake, I used an absolute url with the www.foo.com and so it did an external redirect. That'll teach me to gloss over configuration details :) Thank you everyone for the help. Cheers, Rob. -- .

RE: [PHP] Getting the URL that triggered a 404.

2002-07-11 Thread Henning Sittler
e 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] > Subjec

RE: [PHP] Getting the URL that triggered a 404.

2002-07-11 Thread Brian McGarvie
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

[PHP] Getting the URL that triggered a 404.

2002-07-11 Thread Robert Cummings
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 | :-`---