Re: Program Execution and reading results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 misunderstanding

In 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux