Re: Grabbing ALL $_POST var at once.

From: Date: Mon, 06 May 2002 19:06:39 +0000
Subject: Re: Grabbing ALL $_POST var at once.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96308@lists.php.net to get a copy of this message
On Mon, 6 May 2002, David J Jackson wrote: > Thanks for your reply, but let me rephase the question. > Let say I have a form with 50 fields on it do I have to: > > echo $_POST['one'] > .... > ..... > ..... > echo $POST['fifty'] > > > Or should I, could I use extract()? You can use extract if you want, but be careful, because it has security implications. Make sure you explicitly declare starting values for all non-user-supplied variables within that scope at some point after calling extract. miguel

« previous php.general (#96308) next »