PHP execute command via shell
2017-07-25 本文已影响15人
RoyTien
$shellCmd = shell_exec("SHELL COMMAND");
// Execute shell command and print out the result
echo "<pre>$shellCmd</pre>";
$shellCmd = shell_exec("SHELL COMMAND");
// Execute shell command and print out the result
echo "<pre>$shellCmd</pre>";