$id='99321';
$c=file_get_contents('./'+$id+'/index.html');
echo str_replace('/resource',$id.'/resource',$c);
$c=file_get_contents('./'+$id+'/index.html');
echo str_replace('/resource',$id.'/resource',$c);
调试欢乐多
也可以不用include,改用‘重定向’的语句,其中一种重定向方法是:<?php
header(sprintf("./99321/index.html"));
?>