hehexu

博客园 首页 新随笔 联系 订阅 管理

shell_exec — Execute command via shell and return the complete output as a string;

<?php
$output = shell_exec('ls -lart');
echo "<pre>$output</pre>";
?>

 

shell_exec('locale -a | grep -i utf')
posted on 2018-02-24 09:04  hehexu  阅读(142)  评论(0编辑  收藏  举报