Re: Escaping '
| From: | Geoff Lane | Date: | Fri, 22 Jul 2011 15:56:02 +0000 |
| Subject: | Re: Escaping ' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314162@lists.php.net to get a copy of this message | ||
On Friday, July 22, 2011, Floyd Resler wrote:
> I did a fresh install of PHP on a new server. I had gotten used to
> PHP automatically adding a backslash before single quotes when form
> data is submitted. It seems that is shut off in my new install.
> How do I turn it back on?
Check the manual for 'Magic Quotes GPC':
http://php.net/manual/en/security.magicquotes.php
However, you may want to rething enabling this as it's deprecated and
judging by the discussions I've seen it will be removed in the not too
distant future.
HTH,
--
Geoff