Stupid question about HTML_QuickForm...
| From: | Sioui | Date: | Fri, 09 Nov 2001 00:41:44 +0000 |
| Subject: | Stupid question about HTML_QuickForm... | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-491@lists.php.net to get a copy of this message | ||
Hi,
I try PEAR HTML_QuickForm class yesterday & I think it work great for all my purpose BUT
I can't figure out how SIMPLY trim() all submit values without overriding éverithing :-((
for sure, I tried to catch at top with this:
reset ($HTTP_POST_VARS);
while (list ($key, $val) = each ( $HTTP_POST_VARS )) {
$$key = munge_space($val);
I think then I can't modified special values like $HTTP_*_VARS for security reason but if I can do a stripslashes on it why can't I remove simply space...
I also try to trim all inside class with custom method but nothing works *snif* !
Maybe I'm stupid, tired or both but, for now I can't find if somebody can help me
I use last version of PEAR and i run on apache Apache/1.3.14
, PHP Version 4.0.4pl1 ( Linux Mac OS ) & PHP Version 4.0.6 ( windows 98 )
thanks you
Sioui