in reply to Re: SSI in CGI scripts?
in thread SSI in CGI scripts?
This didn't work, however. I really can't do it through print. I have to add it to the variable $ThePost.if( $ThePost =~ /(\[include\])(\S+?)(\[\/include\])/ ) { my $inpath = $1; my $include = '<!--#include virtual="/directory/'.$inpath.'" -->'; $ThePost =~ s/(\[include\])(\S+?)(\[\/include\])/$include/ig; }
-NM
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: SSI in CGI scripts?
by a (Friar) on Nov 14, 2000 at 02:29 UTC |