Re: HTTP_POST_VARS variable names?
| From: | Renze Munnik | Date: | Wed, 18 Apr 2001 12:45:31 +0000 |
| Subject: | Re: HTTP_POST_VARS variable names? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49200@lists.php.net to get a copy of this message | ||
Mat Marlow wrote:
>
> Hi,
> Does anyone know if php stores POST variable names as well as values? I'm
> using HTTP_POST_VARS for the values but I'm having to create my own array
> for the names.
>
> cheers,
>
> Mat
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Correct me if I misunderstand you're question, but;
If you use HTTP_POST_VARS you already have the variable names. I
mean... how else do you use the values you're talking about?
$HTTP_POST_VARS{"var_1"}, $HTTP_POST_VARS{"var_2"}, etc.
var_1 and var_2 are the variable names...
--
* R&zE:
***************************
** Renze Munnik
**
** E: renze@datalink.nl
** M: +31 6 218 111 43
***************************