php and cgi

From: Date: Wed, 03 Apr 2002 01:54:05 +0000
Subject: php and cgi
Groups: php.general 
Request: Send a blank email to php-general+get-91249@lists.php.net to get a copy of this message
hi, 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'); ?> but the content of the cgi file is displayed instead of executing it. <?php system ('mycgi.cgi'); ?> didn't help as well. i also tried calling the url where this cgi is located (which is in the same file structure my php is located), like this: <?php include ('http://www.myurl.org/mycgi.cgi'); ?> but the browse keeps on loading and nothing shows up. thanks in advance. /bw

« previous php.general (#91249) next »