Calling Perl from PHP -- Help --
| From: | Matt Friedman | Date: | Tue, 06 Mar 2001 06:53:17 +0000 |
| Subject: | Calling Perl from PHP -- Help -- | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42711@lists.php.net to get a copy of this message | ||
I'm stumped. I've searched all over and can't figure this one out.
I have a perl script that waits for input on the command line. You type in a string and it returns a
string.
I'd like to be able to this via php, since I can't rewrite the script in php, since
it's a little over my head.
So, how do I open the perl script in php, send it some input and read the output?
Thanks,
Matt.