On Thu, Apr 12, 2001 at 09:01:22PM -0700, Franklin Hays wrote:
>
> Chris,
>
> This is correct. The provider has the following:
>
> magic_quotes_gpc ON ON
> magic_quotes_runtime ON ON
> magic_quotes_sybase OFF OFF
>
> and I have:
>
> magic_quotes_gpc ON ON
> magic_quotes_runtime OFF OFF
> magic_quotes_sybase OFF OFF
>
> Is there anyway I can turn this off locally? Such as in .htaccess or
> within the script itself?
ini_set("magic_quotes_runtime", "off") would probably work. (There's a
counterpart ini_get() which is also useful).
Otherwise, .htaccess will also work:
php_flag magic_quotes_runtime off
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]