PHP 4.0 Bug #6776: Getting data from REDIRECT_QUERY_STRING
| From: | cap at capsi dot com | Date: | Sat, 16 Sep 2000 17:32:26 +0000 |
| Subject: | PHP 4.0 Bug #6776: Getting data from REDIRECT_QUERY_STRING | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33339@lists.php.net to get a copy of this message | ||
From: cap@capsi.com
Operating system: Linux 2.2
PHP version: 4.0.0
PHP Bug Type: Feature/Change Request
Bug description: Getting data from REDIRECT_QUERY_STRING
When redirecting a page with a ErrorDocument 404 directive in Apache, one loses all GET variables.
They are still available in REDIRECT_QUERY_STRING, but you'll need to parse that manually.
It would be really convenient if getenv() would allow a second, optional argument to parse a
specific string as if it were a query string. Or even better, make them available automatically in
HTTP_REDIRECT_VARS_GET[].