Re: $_POST["mypassword"]; ***Undefined index: mypassword
| From: | Dimiter Ivanov | Date: | Mon, 14 May 2007 17:55:36 +0000 |
| Subject: | Re: $_POST["mypassword"]; ***Undefined index: mypassword | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43597@lists.php.net to get a copy of this message | ||
On 5/14/07, Chetanji <chetan_graham@amritatech.com> wrote:
Okay, now with the isset and var_dump in place within the login.php script, I get the output of what I typed into the Log On page. All this output is 'premeal' for the login.php script. So then the PHP "Notice's" are just something to know the PHP parser is seeing a empty, undescriptive container and is throwing a "hey, look at this it may not be normal" when the login.php script is run by itself in the browser. You are thinking its not a problem and will not lead to any problems. If this is the case then thankyou Dimiter. Blessings, ChetanjiYes that's the purpose of notices. From the php manual : "Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script." http://www.php.net/manual/en/ref.errorfunc.php#e-notice You may comment/remove the var_dump, it's only for debugging purposes. You don't need it anymore.