error_reporting=E_ALL & ~E_NOTICE
在你想禁止notice错误提示的页面中加入如下代码:
error_reporting(E_ALL^E_NOTICE);
或
error_reporting(0);
暂无评论