标签:结果 stat var ace l命令 string dex keyword space
<?php
$shell = "ls -la"; exec($shell, $result, $status); $shell = "<font color=‘red‘>$shell</font>"; echo "<pre>"; if( $status ){ echo "shell命令{$shell}执行失败"; } else { echo "shell命令{$shell}成功执行, 结果如下<hr>"; print_r( $result ); } echo "</pre>";?>标签:结果 stat var ace l命令 string dex keyword space
原文地址:https://www.cnblogs.com/vinzen/p/9813256.html