W3C home > Mailing lists > Public > www-html@w3.org > January 2000

SSI and CGI

From: Jonathan Wright (DNA) <dna@dna-rna.freeserve.co.uk>
Date: Thu, 13 Jan 2000 16:22:37 -0000
To: "Perl Win32 Users List" <Perl-Win32-Users@listserv.ActiveState.com>, <www-html@w3.org>, <ADV-HTML@BAMA.UA.EDU>
Message-ID: <000501bf5de2$67f69ab0$fe2d893e@dna.co.uk>
-----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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT