ID: 33102 Updated by: [EMAIL PROTECTED] Reported By: php-bugs at jensthebrain dot de -Status: Open +Status: Feedback Bug Type: Safe Mode/open_basedir Operating System: Windows 2003 PHP Version: 4.3.11 New Comment:
And what if you execute "d:/wwwroot/safe_bin/identify.exe" instead of "d:\wwwroot\safe_bin\identify.exe" ? Previous Comments: ------------------------------------------------------------------------ [2005-05-22 14:43:41] php-bugs at jensthebrain dot de Description: ------------ I can't execute binaries which are in safe_mode_exec_dir (safe_mode=on) Reproduce code: --------------- <?php error_reporting(E_ALL); exec('d:\wwwroot\safe_bin\identify.exe', $ret, $error); print_r($ret); echo $error; ?> Expected result: ---------------- The output of identify.exe Actual result: -------------- >d:\programme\php\php -d safe_mode=on -d safe_mode_exec_dir=d:/wwwroot/safe_bin/ d: \wwwroot\www-test.xy.de\htdocs\test.php Der Befehl "d:/wwwroot/safe_bin/" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Content-type: text/html Array ( ) 1 With \ instead of / >d:\programme\php\php -d safe_mode=on -d safe_mode_exec_dir=d:\wwwroot\safe_bin\ d: \wwwroot\www-test.xy.de\htdocs\test.php Content-type: text/html Array ( ) 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33102&edit=1