a=shift;$a=~s/\\//g;$a=glob($a);$_=`cat $a`;print"Content-type: text/h +tml\n\n" ;while(/<!--#exec cgi="([^"]*)"-->/){$a=`$1`;$a=~s/\n/<br>\n/g; s/<!--#exec cgi="([^"]*)"-->/$a/}print;
is code I found on the net to handle SSI's. Im a little confused. This code is being applied on $a, right? That needs to change to my var name, yes? Or is all of this being applied to $_? if it is being applied to $HTMLLine?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |