Bug #11001 Updated: ini_set() of 'magic_quotes_sybase' has no effect
| From: | mike at newfangled dot com | Date: | Mon, 21 May 2001 14:35:26 +0000 |
| Subject: | Bug #11001 Updated: ini_set() of 'magic_quotes_sybase' has no effect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56052@lists.php.net to get a copy of this message | ||
ID: 11001
User Update by: mike@newfangled.com
Status: Closed
Bug Type: Unknown/Other Function
Operating system: Win2K Professional SP1
PHP Version: 4.0.5
Description: ini_set() of 'magic_quotes_sybase' has no effect
Is it a documention issue?
The Online Manual
=============================
magic_quotes_sybase "0" PHP_INI_ALL
PHP_INI_ALL 7 Entry can be set anywhere
Previous Comments:
---------------------------------------------------------------------------
[2001-05-21 16:32:14] mike@newfangled.com
Is it a documention issue?
The Online Manual
=============================
magic_quotes_sybase "0" PHP_INI_ALL
PHP_INI_ALL 7 Entry can be set anywhere
---------------------------------------------------------------------------
[2001-05-21 16:26:50] rasmus@php.net
Not a bug. magic quotes are done before your script is executed, so you can't change these
settings in your script.
---------------------------------------------------------------------------
[2001-05-21 16:23:33] mike@newfangled.com
Trying to set magic_quotes_sybase with
ini_set('magic_quotes_sybase', 1 )
even though a ini_get() says the value is set it has no effect on the handling of quotes. I have to
set the value to 'on' in the PHP.ini file in order for this to work.
I have tried the following without any success.
ini_set('magic_quotes_sybase', 1 )
ini_set('magic_quotes_sybase', '1' )
ini_set('magic_quotes_sybase', -1 )
ini_set('magic_quotes_sybase', '-1' )
ini_set('magic_quotes_sybase', true )
ini_set('magic_quotes_sybase', 'on' )
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11001