Posted by Mazin07 on 11/15/34 11:27
O'Hara wrote:
> O'Hara wrote:
>
>
>>Hi,
>>Some characters entered in the text fields of a form get an escape
>>character. What is the reason? How can I prevent/remove this?
>>
>
>
> Problem solved.
> I needed to turn off magic_quotes_gpc in /etc/php.ini
>
> magic_quotes_gpc = Off
>
> Sorry if this was a VFAQ.
> As for the usefulness of these magic quotes...
>
In addition, there's a function specifically for slashes:
StripSlashes( string str )
AddSlashes( string str )
Will add/remove the escape slashes
[Back to original message]
|