Re: note 8546 added to getenv
| From: | Rasmus Lerdorf | Date: | Sun, 17 Sep 2000 05:31:20 +0000 |
| Subject: | Re: note 8546 added to getenv | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-5113@lists.php.net to get a copy of this message | ||
That's what parse_str() is for.
On 16 Sep 2000 cap@capsi.com wrote:
> 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
>
>
>