pureboys
随便写的

[mw_shl_code=php,true]error_reporting(0);

$id = $_GET[id];

if($id < 3){

$content = file_get_contents('b.txt');

$f = fopen('var_'.$id.'.html','w');

if($f){

fwrite($f,$content);

}

fclose($f);

$id++;

echo " *本站禁止HTML标签噢* location.href='a.php?id=".$id."'</script>";

}

[/mw_shl_code]

随便写的,让你找找思路,莫喷。