Re: " becomes /" while posting
| From: | Rasmus Lerdorf | Date: | Wed, 13 Sep 2000 15:11:16 +0000 |
| Subject: | Re: " becomes /" while posting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16622@lists.php.net to get a copy of this message | ||
> > I got a form in whcih the user can input all kind of text. The problem:
> > When the user inputs "text", the HTTP_POST_VAR of this field is
> > \"text\". How can I re-convert it into "text" ?
>
> stripslashes()
Or turn off magic_quotes_gpc in your php.ini file.
-Rasmus