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
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
2 matches
Mail list logo