Re: exec problem

From: Date: Tue, 27 Aug 2002 11:27:00 +0000
Subject: Re: exec problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114238@lists.php.net to get a copy of this message
If you are trying to receive the output of the command line you can use the backtick notation $list = ls; Hope that helps Andrew "Mark" <mark@itouchlabs.com> wrote in message news:20020827081734.7708.qmail@pb1.pair.com... > i'm basicly trying to execute an executeable with this following script. > > $command = "../theApp/theapp"; > exec ( $command , $ValueIn, $ValueOut); > echo $ValueOut; > > I'm getting a value of 0 returned, but from a command line the executable > works fine and does what it is suposed to do is there any other way i can do > this or ami i doing it work ?? > > Cheers >

« previous php.general (#114238) next »