|
Posted by Hilarion on 10/10/52 11:25
> the new text entered! As usual. BUT, if I have insert for example a " ' "
> the field will be filled with " \' " ... IF " \ " then " \\ "
> If I submit the form again and there are some more errors... \\ becomes \\\
> and \\\\ and so on...
If you have magicquotes_gpc turned on (you have now), then all data
from $_GET, $_POST and $_COOKIE (and $_REQUEST) are escaped with
slashes. Turn off magicquotes_gpc (you'll have to add the slashes
when placing the data in SQL query) or use "stripslashes" on the
data from those superglobals.
Hilarion
Navigation:
[Reply to this message]
|