Home  >  Article  >  php教程  >  php运行环境出现Undefined index 或variable时解决方法

php运行环境出现Undefined index 或variable时解决方法

WBOY
WBOYOriginal
2016-06-13 10:48:211165browse

编辑php.ini文件:

1) error_reporting设置:
找到error_reporting = E_ALL
修改为error_reporting = E_ALL & ~E_NOTICE

2) register_globals设置:
找到register_globals = Off
修改为register_globals = On 


摘自 adamboy
 
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn