question about ssi's #exec

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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
<head><title>Title for exectest</title></head>
exec test -
<!--#include file="pag1p1"-->
<!--#exec cmd="/htdocs/userdirs/ht/pcgi/extest fstcount"--!>
<!--#include file="einst"-->

--- c program
int main(int argc, char **argv)
    long count;
    count = readinc(argv[1]);

Re: question about ssi's #exec

On Sat, 26 May 2007 13:33:21 +0000, Hul Tytus wrote:
Quoted text here. Click to load it

Unclosed comment.  Remove the exclamation mark.

Re: question about ssi's #exec

Many thanks. Remarkable how the simpliest of errors can be the last seen,
or, sometimes, never seen.


Quoted text here. Click to load it

Site Timeline