pureboys 发表于 2013-7-3 19:41 [mw_shl_code=php,true]error_reporting(0); $id = $_GET; if($id < 3){我都不会,怎么喷
[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 "<script>location.href='a.php?id=".$id."'</script>"; } [/mw_shl_code] 随便写的,让你找找思路,莫喷。
戳下啊 发表于 2013-3-21 18:51 .htaccess的写法网上有,文件里面的要按钮来触发的就是一个if语句。具体太长,你百度个文件去看看 ...写出来那些文件怎么连接?→▁→对不起,我就是这么逊