ZBlogPHP::Verify PHP Method

Verify() public method

验证用户登录(COOKIE中的用户名密码)
public Verify ( ) : boolean
return boolean
    public function Verify()
    {
        $m = null;
        $u = trim(GetVars('username', 'COOKIE'));
        $p = trim(GetVars('password', 'COOKIE'));
        if ($this->Verify_MD5Path($u, $p, $m) == true) {
            $this->user = $m;
            return true;
        }
        $this->user = new Member();
        return false;
    }
ZBlogPHP