Re: Editing in a text area field
| From: | Daniel Brown | Date: | Fri, 09 Jan 2009 20:36:41 +0000 |
| Subject: | Re: Editing in a text area field | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285904@lists.php.net to get a copy of this message | ||
On Fri, Jan 9, 2009 at 14:43, VamVan <vamseevan@gmail.com> wrote:
>
> 100% I agree. Thats called the act of defensive programming. We have no
> right over altering user input but yes we have right to display what we want
> user see on the site.
Well, of course you have the _right_ to do it --- as long as it's
legal, and it's not something that *requires* the data to remain
unaltered, you have the right to do manipulate it however you want.
The question comes down to ethics and in predicting the preferences of
the user.
I know what you mean, though. In most cases, you should have
neither the need nor desire to alter user input upon INSERT/UPDATE.
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to find out!