使用了未定义的变量php.ini中error_reporting = E_ALL & ~E_NOTICE
或在程序开头加上:
error_reporting(E_ALL & ~E_NOTICE);

解决方案 »

  1.   

    谢谢上面两位,按照 xuzuning(唠叨) 的指点,一部分错误信息屏蔽了
    但还有这个错误(变量数组)
    错误位置:
    $file_new_name=explode("|",$file_new_sort[$i]);Notice: Undefined offset: 0 in index.php on line 688
      

  2.   

    还有一种方法就是规范一下你的变量。
    比如使用之前先声明一下,使用$_POST[],$_GET[],$_SERVER等来表示传递过来的变量