Why do form submissions need stripslashes() invocations?
| From: | Neil Zanella | Date: | Mon, 10 Sep 2001 00:18:34 +0000 |
| Subject: | Why do form submissions need stripslashes() invocations? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66637@lists.php.net to get a copy of this message | ||
Hello,
I would like to know why PHP adds slashes to the double quote,
single quote, and backslash characters when submitting a form.
In particular it would be nice if the PHP manual or some other
manual mentioned this but I could not find any official
documentation on this issue. Why does PHP add the
slashes in the first place? (I'm using PHP 4.0.4pl1
and don't know if this is just a bug or whether
it was meant to be this way).
Thanks,
Neil