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
In reply to RE: Re: SSI in CGI scripts?
by NeverMore
in thread SSI in CGI scripts?
by NeverMore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |