Re: get the output from a program

From: Date: Tue, 12 Nov 2002 17:44:32 +0000
Subject: Re: get the output from a program
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-124034@lists.php.net to get a copy of this message
exec() worked jsut fine. Is there any drawback to using this? -Greg "Adam Williams" <awilliam@mdah.state.ms.us> wrote in message news:Pine.LNX.4.33L2.0211121138370.5968-100000@roark.mdah.state.ms.us... > actually, look up system() I think it would be better in your case. > > Adam > > On Tue, 12 Nov 2002, Greg wrote: > > > Hi- > > Is there a way in PHP to execute a program and then have it pass its output > > back to PHP? Say I wanted to return the value that running "df" produced > > and put it in a web page? Thanks!! > > -Greg > > > > > > > > >

« previous php.general (#124034) next »