Re: System and output
| From: | David Robley | Date: | Wed, 11 Oct 2000 08:32:58 +0000 |
| Subject: | Re: System and output | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19538@lists.php.net to get a copy of this message | ||
On Wed, 11 Oct 2000, Martin wrote:
> Hello !
>
> I use system() to call a programm on the server. The programm outputs
> multiple lines of text.
>
> The problem: I want to put the output of the programm into a variable
> instead of printing it to the screen. If I use exec(), I only get the
> last line of the output to my variable. But I need all lines...
>
> Please help !
>
> Martin
exec?
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA