Re: Sessions and Forms
| From: | Nick Wilson | Date: | Sat, 08 Jun 2002 07:27:34 +0000 |
| Subject: | Re: Sessions and Forms | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101253@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* and then Nick Wilson declared....
> How about something like this:
>
> foreach($HTTP_POST_VARS as $key => $val) {
> $myFormData['$key']=$val;
> }
Actually that may be a little redundent. You may well get away with:
$myFormData=$HTTP_POST_VARS;
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9AbHmHpvrrTa6L5oRAnYDAJ97cMzKPwdp42y+G7KiixEAavdFYACdEOlP
bBSkoamAv10hHnDAmrVfiBk=
=NHHQ
-----END PGP SIGNATURE-----