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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to