Re: [PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan Rusterholz
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: > > >

[PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan Rusterholz
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

[PHP] Execute Perl CGI within PHP

2001-10-05 Thread Stefan
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