PHPスクリプト/shell_exec()

PHPスクリプト

shell_exec()

配列の要素数を求める

書式

shell_exec ( string cmd )

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