thinkphp验证码在部署服务器无法正常显示,解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载 https://blog.csdn.net/sqlquan/article/details/83899235
    public function verify()
    {
        ob_end_clean();
        $verify = new Verify();
        $verify->entry();
    }

在输出验证码前加上ob_end_clean()调用,然后就正常了

猜你喜欢

转载自blog.csdn.net/sqlquan/article/details/83899235