-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Greg Macek declared....
> Ok, I'll have to try that on my next project. Unfortunately these forms 
> were written by another developer and there too many variables to rename 

How about something like this:

foreach($HTTP_POST_VARS as $key => $val) {
    $myFormData['$key']=$val;
}

Then you just register the $myFormData and it will be available to you
whenever you need it.

- -- 
Nick Wilson     //  www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9AbEvHpvrrTa6L5oRAirPAJ9HylqSk9NBsNsTjjRZZ2fBHN3K3QCdGzdS
t6yXIWhWu76VxfGkpQp6JdI=
=uZMW
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to