#28784 [Fbk->Opn]: php.ini: disable_functions does not work at all

From: Date: Mon, 14 Jun 2004 21:57:33 +0000
Subject: #28784 [Fbk->Opn]: php.ini: disable_functions does not work at all
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-60915@lists.php.net to get a copy of this message
ID: 28784 User updated by: dietrich dot ayala at foundstone dot com Reported By: dietrich dot ayala at foundstone dot com -Status: Feedback +Status: Open Bug Type: *Configuration Issues Operating System: windows xp PHP Version: 4.3.7 New Comment: user error. i have several versions of php on this box, and updated the wrong php.ini. sorry for the inconvenience, please close. Previous Comments: ------------------------------------------------------------------------ [2004-06-14 23:48:12] sesser@php.net Please double check the position of php.ini or if you made any typo in it. disable_functions works fine here on linux and windows. ------------------------------------------------------------------------ [2004-06-14 23:18:57] dietrich dot ayala at foundstone dot com Description: ------------ os: winxp webserver: iis/fastcgi i set the disable_functions option in php.ini to a value of: call_user_func_array then i restart iis, make sure no php.exe instances are running. then i try my repro code below, and it works fine. it should not let me use this function. Reproduce code: --------------- <?php function test($arg) { echo $arg; } $arr = array('hello world'); call_user_func_array('test', $arr); ?> Expected result: ---------------- should not let the user use the call_user_func_array function Actual result: -------------- prints "hello world" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28784&edit=1

« previous php.bugs (#60915) next »