Re: Alter an Array Key
| From: | Richard Lynch | Date: | Wed, 18 Jul 2007 01:21:50 +0000 |
| Subject: | Re: Alter an Array Key | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259073@lists.php.net to get a copy of this message | ||
On Sat, July 14, 2007 8:09 am, Stut wrote:
> Craige Leeder wrote:
>> 1. Don't modify $_POST
>
> Why not?
Other portions of a web application will too easily be "confused" by
what you've modified as the application grows.
Far better to have your "clean" data in a different array than to go
poking altered content into $_POST, imho.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?