It seems I didn't read the descrition of 'exec()' good enough when I read it
the first time :(
Now it works, thank you
From: "Krzysztof Kocjan" <[EMAIL PROTECTED]>
To: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> See exec() and system functions in PHP
>
> Krzysztof
>
> Stefan Rusterholz wrote:
> >
>
Hi
For some reasons I need to execute a Perl-CGI from within PHP.
I tried it that way:
$command = "C:\\Perl\\bin\\Perl.exe ".$basedir."myperl.pl";
$result = @passthru($command, $status);
now my Problem: the perl prints its output immidiatly to the browser and $result is
empty after the execution
Hi
For some reasons I need to execute a Perl-CGI from within PHP.
I tried it that way:
$command = "C:\\Perl\\bin\\Perl.exe ".$basedir."myperl.pl";
$result = @passthru($command, $status);
now my Problem: the perl prints its output immidiatly to the browser and $result is
empty after the execution
3 matches
Mail list logo