Re: Validate_be
| From: | Arnaud Limbourg | Date: | Fri, 24 Nov 2006 06:30:02 +0000 |
| Subject: | Re: Validate_be | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-45009@lists.php.net to get a copy of this message | ||
validate should not do magic like that imho. It validates and does not modify the data, this can lead to hard to track bugs.
Arnaud.
Christophe Gesché wrote:
I can now restart development Validate BE. I see that I trim values before try to validate. But I'm not sure that's a good idea. If the value contain trainling space, developper can decide if it's good or not. an trim it self if needed. no ? -- Moosh -- claroline.net -- php.net === Php & Pear & MySQL === http://moosh.et.son.brol.be/ (fr) 11-2006 Forum PHP http://www.afup.org/ (fr) 02-2007 FOSDEM 07 http://www.fosdem.org/ (en)