comp.infosystems.www.authoring.html
question about ssi's #exec
Are there any obvious errors in the html or c code below? Without the #exec line in the html code, the text from pag1p1 and einst both show as would be expected. If the #exec line is included, the text from pag1p1 shows but not that from einst. However, the c code, which increments a long in fstcount, works fine - but nothing afterwards.
This is being tested from one of panix's shell accounts with a personal web.
All suggestions welcome - Hul
--- html code
<html>
<head><title>Title for exectest</title></head>
<body>
exec test -
<!--#include file="pag1p1"-->
<!--#exec cmd="/htdocs/userdirs/ht/pcgi/extest fstcount"--!>
<!--#include file="einst"-->
</body>
</html>
--- c program
int main(int argc, char **argv)
{
long count;
count = readinc(argv[1]);
}