Brian Yennie wrote:
Jacque,

How are you calling the Rev CGI from PHP?

Well, not me, but the other guy. I'm a complete php idiot. This is what he sent me in an email for testing the "echo.cgi" standard MC test cgi:

<?php

   // set command  to be executed
   $command = $_SERVER['DOCUMENT_ROOT'].'/cgi-bin/mc echo.cgi';

   echo 'Execute this: ' . $command . '<br><br>';
   echo 'Results:<br>-----------------------------------<br>';
   echo exec($command);
   echo '<br>-----------------------------------';

?>

And with this, he does get back a single param, the one in $0, surrounded by the dotted lines.

Jacque

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to