On 22 July 2011 16:54, Daniel Brown <danbrown@xxxxxxx> wrote: > 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 > > Unless you are using a self-built V5.4.0 from today onwards. Magic Quotes was finally removed completely and will give you an E_CORE_ERROR if you attempt to enable it. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php