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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php