摘要: 抬出baidu,直接复制、粘贴php notice:,这样搜索的结果,一般有两种情况:一、直接来一句:error_reporting=E_ALL&~E_NOTICE,搞得你不知道什么意思?!二、1.在php.ini文件中改动error_reporting 改为: error_reporting=E_ALL&~E_NOTICE如果你不能操作php.ini文件,你可以用下面的方法来实现2.在你想禁止notice错误提示的页面中加入下面的代码/* Report all errors except E_NOTICE */error_reporting(E_ALL ^ E_NOTICE) 阅读全文
posted @ 2012-08-27 16:26 Panzhibin 阅读(276) 评论(0) 推荐(0) 编辑