RE: Re: $_POST array order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Message d'origine-----
> De : Al [mailto:news@xxxxxxxxxxxxx] 
> Envoyé : mercredi 14 mars 2007 18:03
> À : php-general@xxxxxxxxxxxxx
> Objet :  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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux