Yep, and that's what I do, Tom.
--Ralph
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 06, 1999 3:40 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] modifying webpages Re:(2)
>
>
> Hi Ralph,
>
> I was just wondering if you could tell me how to execute SSI with rebol
> scripts. You don't need to decode in the cgi script because no
> information was
> passed, is that right? I just tried a test like this.
>
> <!--#exec cgi="/cgi-bin/testcgi.r" -->
>
> then in my cgi-bin I have
>
> #!d:/rebol/rebol031/rebol --cgi
>
> REBOL [
> Title: "Test"
> Date: 06-Dec-1999
> File: %cgitest.r
>
> ]
>
> print "Content-Type: text/html^/" ;-- Required Page Header
>
> print [
> <center><b> How's she goin'? </b></center>
> ]
>
> What do you think?
>
> Tom
>
> [EMAIL PROTECTED] wrote:
>
> >
> > I assume you want to call a Rebol routine as a footer? Two
> simple ways come
> > to mind (I'm sure there are others).
> >
> > First, if your site allows server side includes, use:
> >
> > <!--#exec cgi="/cgi-bin/footer.r" -->
> >
> > I use this technique to call my Rebol rotating banner program
> for several
> > pages.
> >
> > Or... if your site supports PHP (i.e. your page can have an extension of
> > .phtml or .php3) use:
> >
> > <?php include("http://abooks.com/cgi-bin/banner.r") ?>
> >
> > That's my acutal rotating banner link, feel free to put it on all your
> > sites<g>.
> >
> > Anyway, hope the above was helpful.
> >
> > --Ralph
>
>