發(fā)表日期:2014-10 文章編輯:小燈 瀏覽次數(shù):3349
說(shuō)明:驗(yàn)證碼是為了有效防范機(jī)器群發(fā)而設(shè),能簡(jiǎn)單有效的防范大部分群發(fā)工具(即使現(xiàn)在的圖片識(shí)別率比較高,也能防范互聯(lián)網(wǎng)的大量新手試驗(yàn))
生成驗(yàn)證碼代碼地址:
<imgsrc="api.php?c=vcode"onclick="update_vcode(this)"style="cursor:pointer"/>
JS函數(shù)編寫
functionupdate_vcode(obj){varurl="api.php?c=vcode&_noCache="+Math.random();$(obj).attr("src",url);}
驗(yàn)證碼存放的表單字段是:_chkcode
HTML代碼如下 :
<inputtype="text"name="_chkcode"id="_chkcode"/>
日期:2018-09 瀏覽次數(shù):4121
日期:2014-10 瀏覽次數(shù):3447
日期:2014-10 瀏覽次數(shù):3205
日期:2014-10 瀏覽次數(shù):3277
日期:2014-10 瀏覽次數(shù):3337
日期:2014-10 瀏覽次數(shù):3280
日期:2014-10 瀏覽次數(shù):3348
日期:2014-10 瀏覽次數(shù):3310
日期:2014-10 瀏覽次數(shù):3321
日期:2014-10 瀏覽次數(shù):3365
日期:2014-10 瀏覽次數(shù):3528
日期:2014-10 瀏覽次數(shù):3105
日期:2014-10 瀏覽次數(shù):3259
日期:2014-10 瀏覽次數(shù):3397
日期:2014-10 瀏覽次數(shù):3152
日期:2014-10 瀏覽次數(shù):3620
日期:2014-10 瀏覽次數(shù):3198
日期:2014-10 瀏覽次數(shù):3350
日期:2014-10 瀏覽次數(shù):3168
日期:2014-10 瀏覽次數(shù):3470
日期:2014-10 瀏覽次數(shù):3194
日期:2014-10 瀏覽次數(shù):3216
日期:2014-10 瀏覽次數(shù):3216
日期:2014-10 瀏覽次數(shù):3937
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.