|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-04-16 00:01 UTC] surkamp at gmail dot com
Description: ------------ Unable to disable magic_quotes_gpc with ini_set function PHP manual says that this variable can be changed by PHP_INI_ALL http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc Reproduce code: --------------- <?php ini_set('magic_quotes_gpc', false); echo ini_get('magic_quotes_gpc'); print $_GET['q']; Expected result: ---------------- 0 ' Actual result: -------------- 1 \' PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 23:00:01 2025 UTC |
From sources: main.c: STD_PHP_INI_BOOLEAN("magic_quotes_gpc", "1", PHP_INI_PERDIR|PHP_INI_SYSTEM, OnUpdateBool, magic_quotes_gpc, php_core_globals, core_globals) And there's nothing in manual that says it's PHP_INI_ALL..