那你的先搞清楚是在哪里被加上的!
设你的 php 程序为 a.php,则另写一程序 b.php
<?php
file_put_contents('a.tat', file_get_contents('http://localhost/a.php'));
运行后,查看 a.txt
设你的 php 程序为 a.php,则另写一程序 b.php
<?php
file_put_contents('a.tat', file_get_contents('http://localhost/a.php'));
运行后,查看 a.txt
如果你按照版主的方法,输出到txt后,如果没有出现那就是没有问题的!