Sending information in a php page to perl and back
| From: | Southoz | Date: | Sat, 25 Nov 2000 05:34:53 +0000 |
| Subject: | Sending information in a php page to perl and back | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27098@lists.php.net to get a copy of this message | ||
Hi,
I am new to PHP but not Perl, and I can't find any information on this in
the archives, or documentation.
I have a perl script which does some processing for me, and I don't want to
rewrite what it does in php, but all the other perl from a web site I am
working on is in php.
What I need to do is to execute a perl script with arguments (from the
command line it is like: perlscript.pl question answer question1 answer1)
and the perl script returns a positive or negative response with a single
argument.
So the user submits an html form to a php page, which does a number of
things, but needs to send some arguments to the perl script, then process
the response for the user.
I have the perl script as a perl mod as well if this is useful (the perl
script just calls the perl mod anyway).
Thanks for your time,
Jeni