RE: [PHP] Re: $_POST array order
| From: | Tim | Date: | Wed, 14 Mar 2007 17:25:17 +0000 |
| Subject: | RE: [PHP] Re: $_POST array order | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250598@lists.php.net to get a copy of this message | ||
> -----Message d'origine-----
> De : Al [mailto:news@ridersite.org]
> Envoyé : mercredi 14 mars 2007 18:03
> À : php-general@lists.php.net
> Objet : [PHP] Re: $_POST array order
>
> Why not simply unset() the unwanted value by its key, i.e.,
> the submit button's name.
Good point... But this means for each form i have to get that name.
To find the button name i need check arrays this is more unessary conditions
if i could just pop it would be great..
It doesn't matter if someone modifies the post array because it will catch
it later on in validation so is not a security issue..
Just a save cycles, and cleaner coding issue..
Regards,
Tim