主頁 > 知識庫 > asp中文數(shù)字驗證碼

asp中文數(shù)字驗證碼

熱門標(biāo)簽:電子圍欄 Linux服務(wù)器 團購網(wǎng)站 阿里云 Mysql連接數(shù)設(shè)置 銀行業(yè)務(wù) 科大訊飛語音識別系統(tǒng) 服務(wù)器配置
復(fù)制代碼 代碼如下:

form method="post" name=myform>
姓 名:input type="text" name="name" value="">br>
學(xué) 號:input type="text" name="num" value="">br>
。。。:input type="text" name="aaa" value="">br>
。。。:input type="text" name="bbb" value="">br>
驗證碼:img src="vcode/c.asp" onclick="this.src=this.src" title="點擊圖片可以更改驗證碼" height="13" width="52">
input type="text" size="5" name="C" autocomplete="off" style="ime-mode:disabled;" value="">
input type="submit" value="提交">
/form>

asp代碼:
復(fù)制代碼 代碼如下:

%
c = Request.form("c")
'如果可以輸入小寫的數(shù)字,請把下面三行注釋掉
for ii = 0 to 9
c = Replace(c,Cstr(ii),"")
next
c = Replace(c,"零","0")
c = Replace(c,"一","1")
c = Replace(c,"二","2")
c = Replace(c,"三","3")
c = Replace(c,"四","4")
c = Replace(c,"五","5")
c = Replace(c,"六","6")
c = Replace(c,"七","7")
c = Replace(c,"八","8")
c = Replace(c,"九","9")
if Cstr(c) > Cstr(Session("validateCode")) then
Response.write ("驗證碼不正確")
Response.end
end if
%>

標(biāo)簽:萍鄉(xiāng) 衡水 江蘇 蚌埠 大理 棗莊 廣元 衢州

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《asp中文數(shù)字驗證碼》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266