Home > php教程 > php手册 > body text

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

WBOY
Release: 2016-06-07 11:44:10
Original
1297 people have browsed it

用官方的类无法显示验证码,改动后就可以了
    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元

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template