打开调试窗口,我上下拉伸调试窗,就不停的生成新的验证码前端代码:<div class="input-icon left" style="margin-top:10px;padding:0 40px;"> <input style="height:36px;width:85px;margin-right:10px;padding-left:6px;color:#555;" type="text" id="loginVerify" name="verify" placeholder="验证码" autocomplete="off" class="m-wrap placeholder-no-fix" > <a id="captcha-container" class="reloadverify" title="换一张" href="javascript:void(0)"> <img class="verifyimg reloadverify" alt="点击切换" src="{:U('User/verify')}" width="130" > </a> </div> 后台代码:public function verify(){ ob_clean(); $verify = new \Think\Verify(); $verify->useCurve=false; $verify->length=4; $verify->codeSet='123456789'; $verify->entry(1); }
1 回答
- 1 回答
- 0 关注
- 1842 浏览
添加回答
举报
0/150
提交
取消