traeregan on 07/22/09
Last Edited at 07/22/09 03:10pm
<?php function execOutput($command) { $output = array($command); exec($command.' 2>&1', $output); return implode("\n", $output);} echo execOutput('help');?>
URL: http://xantorohara.blogspot.com/2008/09/php-exec-output.html
Report this snippet Tweet
Comment:
You need to login to post a comment.