Re: Program Execution and reading results
| From: | Richard Heyes | Date: | Thu, 21 Jun 2007 09:46:39 +0000 |
| Subject: | Re: Program Execution and reading results | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257543@lists.php.net to get a copy of this message | ||
hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstandingIn which case I would still use shell_exec(): <?php $output = shell_exec('ls -l'); ?> -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software