Executing perl scripts in a unix environment running php cgi-module

From: Date: Wed, 22 Aug 2001 22:53:34 +0000
Subject: Executing perl scripts in a unix environment running php cgi-module
Groups: php.general 
Request: Send a blank email to php-general+get-63977@lists.php.net to get a copy of this message
Running the cgi-module trying to execute a perl script, dug through the archives found something that would at least return something: exec("/full/path/to/file.cgi", $results, $errorCode); while (list(,$line) = each($results)){ echo $line, "<BR>\n"; } if ($errorCode){ echo "OS Error: $errorCode<BR>\n"; } It spits out nothing but but an error code of 2 ... so basically what i get from it is OS Error: 2. Anyone know another method of including a cgi script similar to SSI <!-- #exec cmd

« previous php.general (#63977) next »