Call perl from PHP
| From: | Chhai Thach | Date: | Tue, 25 Jun 2002 01:33:09 +0000 |
| Subject: | Call perl from PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85560@lists.php.net to get a copy of this message | ||
Does anyone know how to call a perl script from a php file and get the
returned data back to the PHP file?
I have tried using virtual() but this doesn't work because the Perl script
doesn't containt any HTML headers.
I know to call a perl form from another perl you use something long this
line:
new HTTP::Request('POST', 'https://myscript/script.pl');
Is there something similar in PHP, please help. Appreciated. Thanks
Chhai Thach