PHP prompts how to solve the undefined index (multiple methods), undefinedindex
I. Related Information
When you use $ _ post [''] or $ _ get [''] to obtain parameters in a form, the following error occurs: Notice: Undefined index :--------;
Notice: Use of undefined constant ALL_PS-assumed 'all _ Ps' in E: \ Server \ vhosts \ www.lvtao.net \ global. php on line 50
Notice: Undefined index: EaseTemplateVer in E: \ Server \ vhosts \ www.lvtao.net \ libs \ template. core. php on line
Notice: Use of undefined constant ALL_PS-assumed 'all _ Ps' in E: \ Server \ vhosts \ www.lvtao.net \ global. php on line 50Notice: Undefined index: EaseTemplateVer in E: \ Server \ vhosts \ www.lvtao.net \ libs \ template. core. php on line
In the past two days, I installed a new server and changed it to Apache + PHP5.4.3. After the server was configured, I ran the PHP website and encountered an error message: "PHP Notice: Undefined index ..."
The specific information is:
This problem occurs when you enable the error prompt in php, you will be notified of some programming errors. Next I will analyze the php Notice: Undefined index error prompt Method for you, for more information, see.
This problem is
Notice: Use of undefined constant all_ps-assumed 'all _ Ps' in E:/Server/vhosts/www.lvtao.net/global.php on line 50
Notice: Undefined index: easetemplatever in E:/Server/vhosts/www.lvtao.net/libs/template.core.php on line 51
Notice: Use of undefined
Today, porting a program to a remote server has a number of unusual errors, no local errors, and a variety of problems after the server. The problem that you are experiencing for the first time is summarized later and will be updated continuously
I. Related INFORMATION
$_post['] or $_get['] will appear when you get the parameters in the form notice:undefined index:--------;
Well we often receive forms post come over the data times undefined index error
For example: $act =$_post[' action '];
Several solutions to undefined index in PHP
I. Related information
$_post[''] $_get[''] It appears when you use or get the parameters in the formNotice: Undefined index: --------；And we often receive the form post come over the data times Undefined
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.