php + redis 完成api接口的图形验证码
php + redis 完成api接口的图形验证码1.生成产生图形验证码的url$mobile = $_GET['mobile'];
$captcha = new SimpleCaptcha(array(),$mobile);
$captcha->maxWordLength=4;
$captcha->minWordLength=4;
$captcha->maxRotation=2;
$captcha
原创
2017-02-14 11:43:46 ·
2281 阅读 ·
0 评论