SSI and CGI

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hiya all,

I'm having a few problems. I'm building a website with SSI commands,
including 'Exec CGI' commands. I want to send some commands to the
Perl script which is being run.

For example, I want a news navigation bar, so people can go back and
for between articles, but at the latest article the 'next' link
doesn't appear, and at the last, the 'previous' one has vanished. So I
need the send the code of the news article (which is it's filename,
ex. .shtml):


- --950125943.shtml-------------------

<HTML>....
<!-- exec cgi="/cgi-bin/news.pl" -->
...</HTML>

- ----------------------------------------

This works fine, but as soon as I do, I get an error...

- --950125943.shtml-------------------

<HTML>....
<!-- exec cgi="/cgi-bin/news.pl?nav&950125943" -->
...</HTML>

- ----------------------------------------

Any ideas?

Much thanks in advance.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Jonathan Wright
- -
- - dna@dna-rna.freeserve.co.uk
- - dna_jwright@hotmail.com
- - ICQ : 21961373
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - www.dna-rna.freeserve.co.uk  - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Edition 6.0.2

iQA/AwUBOH37jwyroJOfk+1LEQKjOACgnqC3LgAltLg1LpST6/v8I9jT1L8An13c
4flJuncsRDpXmSLu1VQmecio
=YMIX
-----END PGP SIGNATURE-----

Received on Thursday, 13 January 2000 11:22:40 UTC