Rather than manually changing each var -
$foo to $_POST['foo']
(there are simply too many) i'd like to do something like this -
while(list($key, $val) = each($_POST)) eval("\$.$key = stripslashes($value)");
using a loop to create local variables for each variable in the HTTP Post array.
I'm having trouble getting this to work.
Anyone help?
Cheers,
Javier
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php