Slinger SSI Problems

I’m trying to use SSI in slinger. Most of the SSI commands I can get to work
fine, but the #if command doesn’t seem to work as documented. For example:

results in say 192.168.0.2 being displayed. However if I do the command

the nothing appears on the web page but

does print out the text.

I also cannot work out how to reference the value of a form field. Whenever
I #echo the name of a form field nothing comes out.

Has anyone successfully used these SSI commands? If so can you give me some
examples of #if that work and examples of a form definition and an SSI
commands that access the form data.

Thanks in advance
Mark

does the file end with shtml ???

Freddy

“mtv” <mark@nouce.mtvickers.freeserve.co.uk> wrote in message
news:ajk016$31u$1@inn.qnx.com

I’m trying to use SSI in slinger. Most of the SSI commands I can get to
work
fine, but the #if command doesn’t seem to work as documented. For example:
!–#echo var=“REMOTE_ADDR” –
results in say 192.168.0.2 being displayed. However if I do the command
!–#if “REMOTE_ADDR” == “192.168.0.2” print “Known address” –
the nothing appears on the web page but
!–#if “REMOTE_ADDR” != “192.168.0.2” print “Address not known” –
does print out the text.

I also cannot work out how to reference the value of a form field.
Whenever
I #echo the name of a form field nothing comes out.

Has anyone successfully used these SSI commands? If so can you give me
some
examples of #if that work and examples of a form definition and an SSI
commands that access the form data.

Thanks in advance
Mark


\

Yes the file ends with shtml. I don’t think that the #echo command would
work without it. Just can’t get #if to do anything other than check two
fixed strings. Don’t seem to be able to check anything variable. Has anyone
used #if?

Cheers
Mark

fmartens-2000 <fmartens-2000@planet.nl> wrote in message
news:ajp40j$kk3$1@inn.qnx.com

does the file end with shtml ???

Freddy

“mtv” <> mark@nouce.mtvickers.freeserve.co.uk> > wrote in message
news:ajk016$31u$> 1@inn.qnx.com> …
I’m trying to use SSI in slinger. Most of the SSI commands I can get to
work
fine, but the #if command doesn’t seem to work as documented. For
example:
!–#echo var=“REMOTE_ADDR” –
results in say 192.168.0.2 being displayed. However if I do the command
!–#if “REMOTE_ADDR” == “192.168.0.2” print “Known address” –
the nothing appears on the web page but
!–#if “REMOTE_ADDR” != “192.168.0.2” print “Address not known” –
does print out the text.

I also cannot work out how to reference the value of a form field.
Whenever
I #echo the name of a form field nothing comes out.

Has anyone successfully used these SSI commands? If so can you give me
some
examples of #if that work and examples of a form definition and an SSI
commands that access the form data.

Thanks in advance
Mark




\