From: [EMAIL PROTECTED]
Operating system: SuSE Linux 7.1
PHP version: 4.0 Latest CVS (28/04/2001)
PHP Bug Type: PHP options/info functions
Bug description: ini_set doesn't work
ini_set does not seem to work with register_globals and
magic_quotes. Example: You call a file and include the
query string "test=hmm". Here is the code for the file:
<?php
ini_set("register_globals", "0");
echo "register_globals setting:
".ini_get("register_globals")."<br/>";
echo "\$test value: $test";
?>
This will generate the following output:
register_globals setting: 0
$test value: hmm
Notice that the value "hmm" is still there even though
register_globals is off according to the ini_get line.
--
Edit Bug report at: http://bugs.php.net/?id=10540&edit=1
--
PHP Development 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]