passing parameters to perl cgi called from within PHP
| From: | Jim Carey | Date: | Wed, 06 Sep 2000 10:15:59 +0000 |
| Subject: | passing parameters to perl cgi called from within PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15477@lists.php.net to get a copy of this message | ||
is it possible to pass a parameter to a perl cgi from within PHP
eg
exec("/home/sites/site6/web/cgi-bin/test.cgi?p1=fred&p2=joe",$alloutput,$ret
urnval);
I seem to be having some problems with this - maybe it's on the perl end -
just
want to make sure I am calling it right first though
I believe that $alloutput will be an array containing each line of Print
output
from the cgi so that I can pass info back to the php script that way
i can successfully use the exec but not with the parameters
regards
Jim Carey