Dave M G wrote:
>I am developing a web site that is hosted on a web server where I do not
>have permission to change the php.ini file.
>
>This server has magic quotes turned on. I'd like them off.
>
>I wrote two functions to detect when magic quotes is on, and to try and
>counter act its effects.
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 ov
Roger Bigras wrote:
you may try the
ini_set('magic_quotes_gpc',0);
RTM.
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.
See this page for how to disable it:
http://www.php.net/ma
you may try the
ini_set('magic_quotes_gpc',0);
note, this line should be the first line of code.
also make sure that that your php opener is the first line in your script.
1. This feature is DEPRECATED and REMOVED as of PHP 6.0.0. Relying on this
feature is highly discouraged
in php 6 the qu
4 matches
Mail list logo