note 8546 added to getenv

From: Date: Sat, 16 Sep 2000 17:30:03 +0000
Subject: note 8546 added to getenv
Groups: php.notes 
Request: Send a blank email to php-notes+get-5112@lists.php.net to get a copy of this message
What I currently miss in PHP is the ability to get environment variables from a specific 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 I need to parse that manually. It would be nice if getenv() would allow a second, optional argument to parse a specific string as if it were a query string. Or to make them available automatically in HTTP_REDIRECT_VARS_GET[]. http://www.php.net/manual/function.getenv.php

« previous php.notes (#5112) next »