要改成php文件,或者使用javascript;htm文件 全部改成php文件;
page.php 中
<html>
<body>
<table>
<tr><td>
<?php
include"vai.php";
?>
</td></tr>
</table>
</body>
</html>
page.php 中
<html>
<body>
<table>
<tr><td>
<?php
include"vai.php";
?>
</td></tr>
</table>
</body>
</html>
{
$templateCache[$template] = str_replace("\"","\\\"",implode("",file("templates/".$template.".".$EXT)));
return $templateCache[$template];
}
$vai.htm = "aa";
eval("\$outPut = \"".$getTemplate("vai.htm")."\;");
echo $outPut;