Executing df and displaying the results
<?php exec(escapeshellcmd("df"),$output_lines,$return_value); echo ("Command returned a value of $return_value."); echo "</pre>"; foreach ($output_lines as $output) { echo "$o"; } echo "</pre>"; ?>