Re: Re: Kill Magic Quotes

From: Date: Fri, 08 Aug 2008 03:51:23 +0000
Subject: Re: Re: Kill Magic Quotes
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-277865@lists.php.net to get a copy of this message
On Fri, Aug 8, 2008 at 9:05 AM, Chris <dmagick@gmail.com> wrote: > http://www.php.net/get_magic_quotes_gpc > > It cannot be enabled/disabled at run time. It has to either be done in a > .htaccess or through apache/php.ini changes. afaik, turning off/on 'magic_quotes_sybase' is a workaround. it overrides the 'magic_quotes_gpc' and can be manipulated through ini_set <php.net says> magic_quotes_sybase If enabled, a single-quote is escaped with a single-quote instead of a backslash. If on, it completely overrides magic_quotes_gpc. Having both directives enabled means only single quotes are escaped as ''. Double quotes, backslashes and NULL's will remain untouched and unescaped. See also ini_get() for retrieving its value. </php.net says> ~viraj > > See this page for how to disable it: > > http://www.php.net/manual/en/security.magicquotes.disabling.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#277865) next »