Re: php and cgi
| From: | Terry Carney | Date: | Wed, 03 Apr 2002 06:45:31 +0000 |
| Subject: | Re: php and cgi | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91272@lists.php.net to get a copy of this message | ||
On Tue, 2 Apr 2002, Boris Wong wrote:
> i was wondering if anyone knows how i can execute a cgi script
> (with -rwxrwxrwx mode) written in perl from within php?
>
> i tried
>
> <?php
> include ('mycgi.cgi');
> ?>
This worked for me:
<?php
virtual(/cgi-bin/progname);
?>
ALthough I did use absolute paths in the cgi script.
Regards,
Terry.
tcarney@selterra.com