> -----Message d'origine-----
> De : Al [mailto:[EMAIL PROTECTED] 
> 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

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

Reply via email to