2007. 06. 21, csütörtök keltezéssel 10.46-kor Richard Heyes ezt írta:
> > 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');
> ?>
> 

okay I admit my ignorance :)
I didn't know about the return value of shell_exec, now I checked the
manual and wow there it is...
so both can be used to get output

greets
Zoltán Németh

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

Reply via email to