On Jul 22, 2011, at 11:54 AM, Daniel Brown wrote:

> On Fri, Jul 22, 2011 at 11:48, Floyd Resler <fres...@adex-intl.com> 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
> 

I had forgotten what it was called.  While I don't like having to rely on it, 
I'm dealing with some really old code that does rely on it.  Some day I'll get 
around to rewriting that old stuff!  Thanks for reminding me what it was called!

Thanks!
Floyd



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

Reply via email to