Re: [QuickForm] How should i use applyFilter()
| From: | Bertrand Mansion | Date: | Thu, 30 May 2002 15:53:39 +0000 |
| Subject: | Re: [QuickForm] How should i use applyFilter() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1522@lists.php.net to get a copy of this message | ||
le 30/05/02 15:17, Bertrand Mansion à bmansion@mamasam.com a écrit :
(...)
> magic_quotes_gpc is on by default on many servers. Users who set it to off
> know what they are doing. They will surely need to adapt their code to the
> default behaviour. I don't think it's QuickForm business to override their
> settings.
>
> We also have the option to let the user handle the slashes himself and then
> we get rid of every calls to stripslashes and addslashes in QuickForm. I
> don't know what's best ? If anyone has any idea...
Maybe we could specify an optional filter to use when calling
setDefaults($values, $filter). Yeah, that's great ! I'm so good sometimes
;-)
Bertrand Mansion
Mamasam