Re: [PHP] passthru() problem

2003-07-02 Thread Jason Wong
On Wednesday 02 July 2003 22:04, david wrote: > I'm trying to get the output of a shell command with PHP > > This is the command I'm Trying to execute, I also tried using system > instead of passthru > > > > > passthru(ftpwho -v, $return_var); > > echo $return_var; > > ?> pass

[PHP] passthru() problem

2003-07-02 Thread david
I'm trying to get the output of a shell command with PHP This is the command I'm Trying to execute, I also tried using system instead of passthru Both cases "passthru" and "system" Outputed "2" but should have outputted something like this: standalone FTP daemon [17899]: 21852 geiri