一、在网站根目录新建一个名为tongji.php的文件,然后写入以下代码 <?php $n=file_get_contents('tongji.txt'); $n++; file_put_contents('tongji.txt',$n); echo