PHP 4.0 Bug #6776 Updated: Getting data from REDIRECT_QUERY_STRING

From: Date: Sat, 16 Sep 2000 17:49:07 +0000
Subject: PHP 4.0 Bug #6776 Updated: Getting data from REDIRECT_QUERY_STRING
Groups: php.dev 
Request: Send a blank email to php-dev+get-33341@lists.php.net to get a copy of this message
ID: 6776 Updated by: rasmus Reported By: cap@capsi.com Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: parse_str() should be sufficient here. Previous Comments: --------------------------------------------------------------------------- [2000-09-16 13:34:13] cap@capsi.com Oops: And HTTP_REDIREC_VARS_POST[], of course. --------------------------------------------------------------------------- [2000-09-16 13:32:26] cap@capsi.com 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[]. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6776

« previous php.dev (#33341) next »