Re: Need a functional equivilant to the ASP QueryString collection
| From: | Alexander Wagner | Date: | Mon, 09 Apr 2001 19:22:13 +0000 |
| Subject: | Re: Need a functional equivilant to the ASP QueryString collection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47860@lists.php.net to get a copy of this message | ||
Daniel wrote:
> The problem is, I don't know what the names of the input elements
> will be. In ASP, I would iterate through the QueryString collection
> (e.g. For Each item In Request.QueryString), but unless I am missing
> it in the documentation, I don't see an equivalent in PHP.
You should find all you need in the global variables $HTTP_POST_VARS
and $HTTP_GET_VARS (depending on whether you use GET or POST), as long
as track_vars is enabled (default since PHP 4.03).
regards
Wagner
--
"I haven't committed a crime. What I did was fail to comply with the
law."
David Dinkins, New York City Mayor