Re: Escaping '

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

 



On Fri, Jul 22, 2011 at 11:48, Floyd Resler <fresler@xxxxxxxxxxxxx> 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?

    That's magic quotes, and it's been deprecated for quite some time,
and slated for complete removal.  While you shouldn't rely on it, if
you absolutely need to, just re-enable it in php.ini, .htaccess, or in
your code.

    See more: http://php.net/manual/en/security.magicquotes.php

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

-- 
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