Re: Call Perl script in PHP
| From: | Johan Lundqvist | Date: | Wed, 20 Jun 2001 11:22:37 +0000 |
| Subject: | Re: Call Perl script in PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7955@lists.php.net to get a copy of this message | ||
Hi Cengiz,
Are u running PHP as ISAPI? Then try CGI instead.
All "Program Execution functions" (LXIII in PHP manual, exec, system and
passthru) doesn't work well on Windoze platform in ISAPI-mode, or
doesn't work at all...
You might get it to work in CGI-mode, but there's still possible
problems.
Program Execution functions work fine in Linux-PHP-Apache config (that's
where I use it) for app's that really need that functionality.
/Johan
>
> I could not get the result of perl script to my browser. I need help thanks.
>
> I use IIS + Win NT
>
> my code is like this. Bu the result of the passthru perl script is not seen
> on my browser. What is the problem.
>
> $fp="d:\\inetpub\\scripts\\tool_locs.pl";
> passthru($fp);
>
> My code is workiing properly. I check the ret_val of exec or passthru
> coomand.
>
> Thaks in advance
>
> Cengiz