以后写程序注意养成用$_POST的习惯.

解决方案 »

  1.   

    你的变量$message、$PHP_SELF都在哪里来的?你把@readfile前面的@去掉看看有什么错误
      

  2.   


    这个是我在网上找的一个实例,呵呵
    提示这个错误Warning: readfile(index.php.comment) [function.readfile]: failed to open stream: No such file or directory in D:\phpProject\index.php on line 22
      

  3.   

    它说没有这个文件夹或文件,他是为了读文件的内容,没关系的,
    @readfile前面的@不用去掉<FORM method="post" action="<?=$_SERVER['PHP_SELF']?>">加上红色的代码试试
      

  4.   

    表单提交没有目标 action 。