Home > Backend Development > PHP Tutorial > Solution when Undefined index or variable appears in PHP running environment_PHP tutorial

Solution when Undefined index or variable appears in PHP running environment_PHP tutorial

WBOY
Release: 2016-07-13 17:49:39
Original
952 people have browsed it

Edit php.ini file:

1) error_reporting setting:
Find error_reporting = E_ALL
Modify to error_reporting = E_ALL & ~E_NOTICE

2) register_globals settings:
Find register_globals = Off
Modify to register_globals = On


Excerpted from adamboy

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478324.htmlTechArticleEdit the php.ini file: 1) error_reporting settings: Find error_reporting = E_ALL and modify it to error_reporting = E_ALL ~E_NOTICE 2) register_globals settings: Find register_globals = Of...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template