我在windows系统下调用system()函数,但会出现权限不足的问题。
系统提示:Warning: system() has been disabled for security reasons <?php
session_start();
include("conn.php");$cmd="../TC201E/TC201E.EXE"
echo system($cmd);
?>
系统提示:Warning: system() has been disabled for security reasons <?php
session_start();
include("conn.php");$cmd="../TC201E/TC201E.EXE"
echo system($cmd);
?>
2.检查apache用户的在操作系统的权限
3.如果php.ini的safe_mode为on,检查safe_mode_exec_dir设置。
系统提示:Warning: system() has been disabled for security reasons