常用方法
常用方法
常用方法
常用方法
public function changePasswordAction() { $data = $this->getRequest()->getPost(); $user = new Default_Model_User(); $id = $this->_getParam('id', ""); $check = $user->getUser($id); if ($check['password'] == md5($data['password'])) { $user->changePassword($data['password1'], $id); } $this->_redirect('/resume'); }