in reply to Re: Re: #exec in SSI
in thread #exec in SSI

#include executes the file and then includes the output. I've used it that way many times.

John

Replies are listed 'Best First'.
Re: Re: Re: Re: #exec in SSI
by jimac (Initiate) on May 08, 2002 at 13:31 UTC
    Not in IIS it doesn't. I've tried.

    If mycode.pl contains:

    print "this is from the included .pl file<br>\n";
    What you get in the HTML from the server (displayed in the browser) is:
    print "this is from the included .pl file<br>\n";
    The perl doesn't get executed, just the contents of the file get included.

    Jim.