Re: Escaping '

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux