Bug #11001 Updated: ini_set() of 'magic_quotes_sybase' has no effect

From: Date: Mon, 21 May 2001 14:26:50 +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-56049@lists.php.net to get a copy of this message
ID: 11001 Updated by: rasmus Reported By: mike@newfangled.com Old-Status: Open Status: Closed Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.5 Assigned To: Comments: Not a bug. magic quotes are done before your script is executed, so you can't change these settings in your script. Previous Comments: --------------------------------------------------------------------------- [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' ) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11001&edit=2

« previous php.dev (#56049) next »