RE: [PHP] php and cgi

From: Date: Wed, 03 Apr 2002 02:08:06 +0000
Subject: RE: [PHP] php and cgi
Groups: php.general 
Request: Send a blank email to php-general+get-91251@lists.php.net to get a copy of this message
try exec() or back-ticks `` see how that goes Martin -----Original Message----- From: Boris Wong [mailto:borisw@amazon.com] Sent: Wednesday, April 03, 2002 11:54 AM To: php-general@lists.php.net Subject: [PHP] php and cgi 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#91251) next »