Executing a CGI scripts
Posted: Mon Sep 23, 2002 9:42 am
I am converting some code from .SHTML to PHP. In SHTML, we can use the following statent to execute a cgi script that resodes om cgi-bin.
<!--#exec cgi="./cgi-bin/banner.cgi" --><!--#exec cgi="./cgi-bin/random.cgi" -->
how can i call the same script using php. I used
<? include "./cgi-bin/banner.cgi";
include "./cgi-bin/random.cgi";
?>
But with no luck
amy sugestions?
thanks
--Quan
<!--#exec cgi="./cgi-bin/banner.cgi" --><!--#exec cgi="./cgi-bin/random.cgi" -->
how can i call the same script using php. I used
<? include "./cgi-bin/banner.cgi";
include "./cgi-bin/random.cgi";
?>
But with no luck
amy sugestions?
thanks
--Quan