On Fri, Aug 8, 2008 at 9:05 AM, Chris <[EMAIL PROTECTED]> 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
magic_quotes_sybaseIf 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.
~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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php