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 :--------;
And the
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
When discussing the primitive data types in Javascript, most people know the basic knowledge, from String, Number to Boolean. These primitive types are quite simple and behavior is common sense. However, this article will focus more on the unique
$ Act = $ _ POST ['ac'];The above code always promptsNotice: Undefined index: act in F: \ windsflybook \ post. php on line 18In additionReference contentNotice: Undefined variable: Submit ......And so on.Cause: the variable is undefined.Solution:1)
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
Can be preceded by the error statement plus @
You can also modify php.ini
Php. INI error_reporting = E_all caused, if you do not want to see this hint, you can
error_reporting = E_all &~e_notice.
You can also add error_reporting (0) to the top of
When $ _ post [''] and $ _ get [''] are used to obtain parameters in the formNotice: Undefined index :--------;
We often receive Undefined index errors when receiving data from form POST, as follows: $ act =$ _ POST ['action'];The above code always
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
1.
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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.