#21808 [Opn]: autoglobals won't work with a custom error page
| From: | wdl at kabelfoon dot nl | Date: | Wed, 22 Jan 2003 09:19:43 +0000 |
| Subject: | #21808 [Opn]: autoglobals won't work with a custom error page | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30905@lists.php.net to get a copy of this message | ||
ID: 21808
User updated by: wdl@kabelfoon.nl
Reported By: wdl@kabelfoon.nl
Status: Open
Bug Type: Scripting Engine problem
Operating System: linux apache 2.0.43
PHP Version: 4.3.0
New Comment:
ofcourse is in httpd.conf
Alias /errors/404.html "/home/apache/errors/404.html"
ErrorDocument 404 /errors/404.html
Previous Comments:
------------------------------------------------------------------------
[2003-01-22 03:17:40] wdl@kabelfoon.nl
I have in httpd.conf
Alias /_autofiles/error.html "/home/apache/errors/404.html"
ErrorDocument 404 /errors/404.html
when i do http://test.lan/errors/404.html?test=abc
it will show up in de $_GET and in de $_REQUEST
when i do http://test.lan/nonexistentpage.html?test=abc
it won't show up in $_GET OR in $_REQUEST
However it will be in $_SERVER["REDIRECT_QUERY_STRING"] and
$_SERVER["REQUEST_URI"]
Gr,
Wico
------------------------------------------------------------------------
[2003-01-21 23:36:28] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
This is normla behaviour wit Apache. Please read this:
http://httpd.apache.org/docs/custom-error.html
Not a bug.
------------------------------------------------------------------------
[2003-01-21 18:57:22] pollita@php.net
Please provide the following pieces of information:
1) A link to a phpinfo(); page on your server.
2) The relevant source of the script which calls your error page.
(i.e.: header("Location: myerrorpage.php?arg=my+error+message"); )
3) The source to your error page.
------------------------------------------------------------------------
[2003-01-21 16:01:02] wdl@kabelfoon.nl
Hiya
When i have an error page with php but requesting the error page with
an argument it won't show up in the scrip as $_REQUEST['arg'] or
something
The arg is however in the $_SERVER["REDIRECT_QUERY_STRING"] AND in the
$_SERVER["REQUEST_URI"]
Gr,
Wico
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21808&edit=1