[thelist] CALLING SSI WITHIN CGI
Oliver Lineham
oliver at lineham.co.nz
Tue, 18 Jan 2000 21:10:28 +1300
At 08:54 17/01/00 -0600, you wrote:
>I am having some trouble with a cgi I have. It creates html pages with
>forms etc and saves the info. That works fine but I have another cgi for
>banner ads that I somehow need to include within the generated html. I
>believe if I make the banner cgi into a subroutine I should then be able
>to use "require "banner.cgi"; at the top of the original script. Thats
>the easy part again (I think).
Why not call both CGIs separately, from SSI?
eg. a document like this:
<html>
<head><title>yadda</title></head>
<body>
<center><!--#exec cgi="/path/to/banner.cgi" --></center>
<!--#exec cgi="/path/to/other.cgi" -->
</body>
</html>
(Or you could use #exec cmd, or #include virtual)
Is there something I'm missing?
____________________________________________________
v i b e m e d i a http://www.vibe.co.nz/
wellington, new zealand oliver@lineham.co.nz
ph +644 566-0627 mb +6421 2107845 fx +644 570-1900