** CalendarScript is the ONLY cgi script I have that will do this, and I was wondering why that was? **
Because it is not actually SSI (since SSI can't usually be used inside a CGI script) as described in the following documentation excerpt.
quote:
Include Files Other files can be included into a template, much like Server-Side-Includes on a typical web server. Since the templates are not actually processed by the web server, but by the calendar program instead, the include commands do not function exactly as SSI's do. However, the syntax is similar in order to be familiar to those who use SSI's.
CalendarScript
simulates that particular call SSI call by reading the file manually.
** I have a CGI search and CGI photo album that use .html (or .shtml) templates the same way CalendarScript does **
I doubt that. While they could use templates, I doubt they use them the same way CalendarScript does, containing actual Perl code in them too.
** but when I use the same include statement, nothing shows up in those. **
Since SSI can't usually be used inside CGI scripts, the script in question would have to be designed to simulate the SSI call. I guess they are not but check their documentation or ask their support.
JFYI
Dan O.
------------------