in reply to Re: substituting strings in HTML with text files
in thread substituting strings in HTML with text files

The user gets to the STHML page from a browser redirect I dont think you can execute from an already exected page.
  • Comment on Re: Re: substituting strings in HTML with text files

Replies are listed 'Best First'.
Re^3: substituting strings in HTML with text files
by Aristotle (Chancellor) on Jul 24, 2002 at 03:19 UTC
    There is no "executed page" thing happening here. And yes you can.

    Makeshifts last the longest.

      After executing <!--#exec cgi="/cgi-local/browser/index.cgi" -->
      The user arrives at the appropriate page.
      I have added the virtual include on this page <!--#include virtual="events2.txt" --> but the text does not display for me

        Are the two lines in different files? (That's what I assume by your description.) In that case it absolutely doesn't matter how the visitor arrived at the second page with the <!--#include virtual="events2.txt" -->

        You may be having an issue with pathnames and/or permissions. Can you bring up events2.txt in your browser? That's necessary before an SSI include will work.

        Makeshifts last the longest.