Re: HTML_QuickForm - Bugfix for textarea

From: Date: Fri, 29 Nov 2002 14:32:24 +0000
Subject: Re: HTML_QuickForm - Bugfix for textarea
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11252@lists.php.net to get a copy of this message
Bertrand Mansion schrieb in php.pear.dev: > There are certain characters that users don't want to be translated into > their html counterparts, so I think we should use htmlspecialchars instead > of htmlentities. Can you give me a sample? I'll try this. BTW: The reason for selecting htmlentities() was, that it is currently used for <input value="text" ...> (via HTML_Common). > Now the problem comes when you want to allow html tags in your textarea and > store its content as such in your DB or files. I do this with htmlentities()/htmlspecialchars() and can't see any problems related to QuickForm. The Database contains what the user see in textarea. Thomas. -- http://4bconsult.de

« previous php.pear.dev (#11252) next »