Re: System and output

From: Date: Wed, 11 Oct 2000 07:56:25 +0000
Subject: Re: System and output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19531@lists.php.net to get a copy of this message
I found it: I can use popen. Martin 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19531) next »