On Fri, Jan 9, 2009 at 14:43, VamVan <vamseevan@xxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php