Re: HTTP_POST_VARS variable names?
| From: | Johannes Janson | Date: | Wed, 18 Apr 2001 12:48:14 +0000 |
| Subject: | Re: HTTP_POST_VARS variable names? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49199@lists.php.net to get a copy of this message | ||
Hi,
this will list all your posted variables with name and
the posted value.
while (list($key, $value)=each($HTTP_POST_VARS) ) {
echo "$key = $value <br>";
}
Johannes
""Mat Marlow"" <mat@cryptic.co.uk> schrieb im Newsbeitrag
news:9bk11q$dvq$1@toye.p.sourceforge.net...
> 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
>