Re: Escaping '

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

 



On Jul 22, 2011, at 11:54 AM, Daniel Brown 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
> 

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




[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