Zend Framework: Login password hash, email validator?
问题 I have searched and can not find the right answer, so I'm hoping I can be pointed in the right direction. I'm working on a login, we are storing the email as well as password in a table. Password is MD5'ed in the table, email is not. Under the Login form: class Application_Form_Login extends Zend_Form { public function init() { $this->setName('signupForm'); $this->setMethod('post'); $this->setAction('/User/Login'); $id = new Zend_Form_Element_Hidden('id'); $id->addFilter('Int'); $emailAddress