最新消息: 新版网站上线了!!!

thinkphp用户名记住密码的方法

public function login()  // 用户登录页面
    {
        if($this->isPost())
        {
            if(!$this->_post('account'))
            {
                $this->error('用户名不能为空');
                
                exit;
            }
            
            $data["post"]=array
            (
                'name'=>trim($this->_post('account')),
            
                'password'=>trim($this->_post('password'))           
            );
         
            $info -->

转载请注明:谷谷点程序 » thinkphp用户名记住密码的方法