Home  >  Article  >  php教程  >  改动官方图像类BAE验证码可以显示了

改动官方图像类BAE验证码可以显示了

WBOY
WBOYOriginal
2016-06-07 11:44:101273browse

用官方的类无法显示验证码,改动后就可以了
    public function verify () { <br>         $type     =     isset($_GET['type'])?$_GET['type']:'gif';<br>         import("ORG.Util.Image");          <br>         Image::buildImageVerify(4,5,$type);<br>     }演示:http://chaoqing.duapp.com/index.php?s=/Public/verify/

附件 Image.class.rar ( 5.51 KB 下载:28 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn