This error is reported in the default PHP configuration. My PHP version is 5.2.13. This problem exists: Notice: Undefinedvariable. This is to print the warning on the page, although this is conducive to the exposure problem, however, there are many problems in implementation and use. You need to set the display error level to solve the problem. The common solution on the network is to modify php. ini "> <LINKhref =" h
This error is reported in the default PHP configuration. My PHP version is 5.2.13. This problem exists:
Notice: Undefined variable
This is to print out the warning on the page. Although this is conducive to exposing the problem, there will be many problems in implementation and use.
You need to set the display error level to solve the problem.
The common solution on the network is to modify the configuration of php. ini:
Solution:
1) error_reporting settings:
Locate error_reporting = E_ALL
Change to error_reporting = E_ALL &~ E_NOTICE
2) register_globals settings:
Find register_globals = Off
Change to register_globals = On
I found that using php code directly
Error_reporting (E_ALL &~ E_NOTICE );
This problem can be solved. Remember it with tips.