The include virtual element should be used in preference to exec cgi. In particular, if you need to pass additional arguments to a CGI program, using the query string, this cannot be done with exec cgi, but can be done with include virtual, as shown here:
Msg#: 4587084 posted 12:53 am on Jun 25, 2013 (gmt 0)
Thank you for your answer.
What I need to do is have a mix of "local" variables (that I would pass as arguments of the #include virtual) and "global" variables in the URL of the webpage.
So I need to use CGI within my #include virtual for "global" as well as "local" variables but it doesn't seem to work. It allows me to get the "local" variables with cgi->param("myvariablename") but it won't detect the "global" ones.