er" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 08, 2001 12:43 PM
> Subject: Re: [PHP] Costum Error Page
>
>
> > thx for your help ..
> > But I cannot get this running ..
> > Not with getenv nor with the variable its
Just put a phpinfo() call in your 404.php page and see for yourself.
On Sat, 8 Dec 2001, Daniel Urstöger wrote:
> Opps, sorry, I had a bug, now I have this problem:
> Browser is showing this URL:
> http://yourdomain.com/play/404.php
> and so the REQUEST_URI is:
> /play/404.php
>
> But I would n
how about you make a phpInfo() page, and set that as 404 error, then you can
find the correct variable to use :)
Andrew
- Original Message -
From: "Daniel Urstöger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 12:43 PM
Subject: Re: [
D]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 4:02 AM
Subject: Re: [PHP] Costum Error Page
| "Daniel Urstöger" wrote:
|
| > How could I check, which file apache tried to access, and didn´t found ?
| > That would be a pretty nice function for
thx for your help ..
But I cannot get this running ..
Not with getenv nor with the variable itself :(
Could you give me a short example ? Would really help me much ! :)
thx and cya ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Use $QUERY_STRING instead
- Original Message -
From: "Daniel Urstöger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 1:51 PM
Subject: Re: [PHP] Costum Error Page
> Opps, sorry, I had a bug, now I have this problem:
> Browser
Opps, sorry, I had a bug, now I have this problem:
Browser is showing this URL:
http://yourdomain.com/play/404.php
and so the REQUEST_URI is:
/play/404.php
But I would need the requested file, before apache redirected to
the 404.php
Is this possible as well ?
--
PHP General Mailing List (http
Thx !
It works, now I can code further !
"Ashley M. Kirchner" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Daniel Urstöger" wrote:
>
> > How could I check, which file apache tried to access, and didn´t found ?
> > That would be a pretty nice function
"Daniel Urstöger" wrote:
> How could I check, which file apache tried to access, and didn´t found ?
> That would be a pretty nice function for my PHP skript ..
Check your REQUEST_URI variable.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+-
Hi !
I hope you can help me with that problem :)
I have created a costum error page, and this one is working really fine,
already.
Was quite easy, but the problem I have now:
Somebody trys to access the file: iamnothere.html
The requests, doesn´t find the file, so apache redirects the request to
10 matches
Mail list logo