|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-28 19:23 UTC] zeev@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
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.