Is there anyway I can execute a cgi file in a php document, such as you would sorta with SSI?
I have tried "include("/path/cgi-bin/file.cgi?main");" but it doesn't seem to work.
Any help/suggestions?
try using virtual() http://www.php.net/manual/en/function.virtual.php
p.
I get the following error when trying virtual:
"Warning: Unable to include '/home/reboptik/headwired-www/ds/cgi-bin/oday.cgi?thumb' - request execution failed in /home/reboptik/headwired-www/ds/bottom.php on line 21"
Sounds like your server doen't give you permission to run cgi scripts from a PHP Script.
I've tried using the Virtual command on a few CGI scripts and it works fine