Re: wierd form output
| From: | Daniel Convissor | Date: | Fri, 06 Oct 2000 01:04:59 +0000 |
| Subject: | Re: wierd form output | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18802@lists.php.net to get a copy of this message | ||
Hey Bryan:
> characters. If the user enters \\, hits submit, it
> will put \\\\ in the field. If hit again, double that
> and so on.
> Does this have something to do with stripslashes()?
Kind of. Addslashes() or magic_quotes_gpc is putting the "\" in there. Best
solution is to clean user input on the way into your scripts. That way you
can pull out unwanted characters there and avoid such problems.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
More than just answers. Solutions. (SM)
http://www.analysisandsolutions.com/
4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409