Gossamer Forum
Home : General : Perl Programming :

?SSI call on cgi script

Quote Reply
?SSI call on cgi script
is this the proper syntax to execute a .cgi from a .shtm???

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF">
<!--#include exec="myfile.cgi" -->
</body>
</html>

I want to execute myfile.cgi

Thank you very much Smile
Quote Reply
Re: ?SSI call on cgi script In reply to
I am not sure, but as far as I know it should be "include virtual" instead of "include exec" and secondly if your script is not in the same folder, then you must check and specify proper paths ie
/yourserver/yourfile/yourscript etc.,
Quote Reply
Re: ?SSI call on cgi script In reply to
Try something more like this:

<!--#exec cgi="mycgi.cgi" -->

-- Gordon --


------------------
$blah='82:84:70:77';
print chr($_) foreach (split/:/,$blah);