ini_alter
| From: | mopic | Date: | Wed, 17 Nov 1999 19:29:53 +0000 |
| Subject: | ini_alter | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6389@lists.php.net to get a copy of this message | ||
I want to turn off 'magic_quotes_gpc'. To do that, I use 'ini_alter'
function, and check the result
with get_magic_quotes_gpc. However, although it returns '0', which means
turn off, still it add slash to $HTTP_POST_VARS. Is it a bug?
FYI, this is the script;
ini_alter(magic_quotes_gpc, 'off');
$temp = get_magic_quotes_gpc();
print $temp;
Result --> 0
Thanks.