Re: password field validation
| From: | Jason Todd Slack-Moehrle | Date: | Thu, 12 Mar 2009 19:39:08 +0000 |
| Subject: | Re: password field validation | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289946@lists.php.net to get a copy of this message | ||
It is official I am a DOPE! Thank you, yes, I did not see the SSS in an hour of looking! Why enclose in quotes? I have never done this! -Jasonif (empty($_POST[PASSSWORD])) { $GERROR="TRUE";}If that's a direct copy/paste from your actual code, there is an extra S in PASSWORD. Also, you should enclose the array key in quotes: if (empty($_POST['PASSWORD'])) { $GERROR='TRUE'; }