當前位置:首頁 » 操作系統 » 驗證碼平台源碼

驗證碼平台源碼

發布時間: 2022-06-28 08:52:03

㈠ 驗證碼人工代答平台哪個好

答題平台又稱遠程答題平台,驗證碼自動識別平台;
具有對驗證碼自動識別,自動輸入等功能;
網上有答 題 吧驗證碼識別平台可以去看看;

㈡ 驗證碼源碼是什麼給一個簡單實用的

http://free.icpcn.com/
不是宣傳網站,自己注冊,去申請一個免費留言本就可以了。
PS-有很多免費空間的網站都提供免費留言本,這種是現成的,不用懂代碼!只不過是沒有自己特色。

㈢ 誰能推薦個手機號接簡訊平台,能讀取源碼返回值直接得到驗證碼和手機號的

你這個是卡商能做的!簡訊平台一般都是發送驗證碼的!

㈣ thinkphp框架的驗證碼源碼在哪裡請提供版本和對應位置謝謝

真不明白網路審核是怎麼審的,這個文不對題的內容也能被採納。
驗證碼的源碼文件是在think里的library/think/Verify.class.php這個文件,中文驗證碼在里邊也有的

㈤ 求一個java寫的驗證碼源碼和一個MD5加密源碼 最好粘貼過來就可以直接運行的 謝謝大神么,辛苦了

importjava.security.MessageDigest;
importjava.security.NoSuchAlgorithmException;

/*
*MD5演算法
*/
publicclassMd5Util
{

//全局數組
privatefinalstaticString[]strDigits={"0","1","2","3","4","5",
"6","7","8","9","a","b","c","d","e","f"};

publicMd5Util()
{
}

//返回形式為數字跟字元串
(bytebByte)
{
intiRet=bByte;
//System.out.println("iRet="+iRet);
if(iRet<0)
{
iRet+=256;
}
intiD1=iRet/16;
intiD2=iRet%16;
returnstrDigits[iD1]+strDigits[iD2];
}

//轉換位元組數組為16進制字串
(byte[]bByte)
{
StringBuffersBuffer=newStringBuffer();
for(inti=0;i<bByte.length;i++)
{
sBuffer.append(byteToArrayString(bByte[i]));
}
returnsBuffer.toString();
}

publicstaticStringGetMD5Code(StringstrObj)
{
StringresultString=null;
try
{
resultString=newString(strObj);
MessageDigestmd=MessageDigest.getInstance("MD5");
//md.digest()該函數返回值為存放哈希值結果的byte數組
resultString=byteToString(md.digest(strObj.getBytes()));
}catch(NoSuchAlgorithmExceptionex)
{
ex.printStackTrace();
}
returnresultString;
}

publicstaticvoidmain(String[]args)
{
System.out.println(Md5Util.GetMD5Code("99999999"));
}
}

㈥ 網站中的驗證碼是怎麼做的,誰有源程序

源碼,保存為CodePhoto.asp,
在要插入驗證碼圖片的地方插入<img border="0" src="codephoto.asp" width="50" height="20">
生成的隨機驗證碼存在
Session("ValidCode")中,你只要把用戶輸入的驗證碼和Session("ValidCode")比較就行了。

<%
Call Com_CreatValidCode("ValidCode")
response.write vCodes
Sub Com_CreatValidCode(pSN)
' 禁止緩存
Response.Expires = -9999
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/BMP"

Randomize

Dim i, ii, iii

Const cOdds = 2 ' 雜點出現的機率
Const cAmount = 36 ' 文字數量
Const cCode = ""

' 顏色的數據(字元,背景)
Dim vColorData(1)
vColorData(0) = ChrB(255) & ChrB(100) & ChrB(0) ' 藍0,綠0,紅0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 藍250,綠236,紅211(淺藍色)

' 隨機產生字元
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next

Session("ValidCode") = vCodes '記錄入Session
' 字元的數據
Dim vNumberData(35)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
vNumberData(10) = ""
vNumberData(11) = ""
vNumberData(12) = ""
vNumberData(13) = ""
vNumberData(14) = ""
vNumberData(15) = ""
vNumberData(16) = ""
vNumberData(17) = ""
vNumberData(18) = "1100000111"
vNumberData(19) = "1110000011"
vNumberData(20) = ""
vNumberData(21) = "1000111111"
vNumberData(22) = ""
vNumberData(23) = ""
vNumberData(24) = ""
vNumberData(25) = ""
vNumberData(26) = ""
vNumberData(27) = ""
vNumberData(28) = ""
vNumberData(29) = ""
vNumberData(30) = ""
vNumberData(31) = ""
vNumberData(32) = ""
vNumberData(33) = ""
vNumberData(34) = ""
vNumberData(35) = ""

' 輸出圖像文件頭
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)

' 輸出圖像信息頭
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)

For i = 9 To 0 Step -1 ' 歷經所有行
For ii = 0 To 3 ' 歷經所有字
For iii = 1 To 10 ' 歷經所有像素
' 逐行、逐字、逐像素地輸出圖像數據
If Rnd * 100 + 1 < cOdds Then ' 隨機生成雜點
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

㈦ 網頁中的簡訊驗證源碼html或者C#.net網站怎麼實現做簡訊驗證啊求方法或網站源代碼,誰有源碼的求一個

首先你要有簡訊的介面,這個你只有想辦法從別的地方購買。
然後:
你先放一個文本框一個按鈕填寫手機號碼發送簡訊,然後搞一個臨時的庫保存下數據,保存手機號碼和隨機驗證碼、狀態,時間寫上5分鍾後的時間。這四個參數!
進入等等輸入頁面,5分鍾驗證碼過期,用過的修改狀態,5分鍾後可以重發。
驗證碼就這樣操作,如果有什麼困難的地方可以HI網路我~~~

㈧ 能幫我寫一個自動驗證網頁和軟體驗證碼的易源碼嗎

asp驗證碼代碼 (帶刷新)
將以下代碼放到一個單獨的頁面checkcode.asp
<%
Option Explicit
Response.buffer=true
Call Com_CreatValidCode("validateCode")

Sub Com_CreatValidCode(pSN)
' 禁止緩存
Response.Expires = -9999
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/BMP"

Randomize

Dim i, ii, iii

Const cOdds = 2 ' 雜點出現的機率
Const cAmount = 10 ' 文字數量
Const cCode = "0123456789"

' 顏色的數據(字元,背景)
Dim vColorData(1)
vColorData(0) = ChrB(0) & ChrB(0) & ChrB(211) ' 藍0,綠0,紅0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 藍250,綠236,紅211(淺藍色)

' 隨機產生字元
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next
Session(pSN) = vCodes '記錄入Session
' 字元的數據
Dim vNumberData(9)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
' 輸出圖像文件頭
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)

' 輸出圖像信息頭
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)

For i = 9 To 0 Step -1 ' 歷經所有行
For ii = 0 To 3 ' 歷經所有字
For iii = 1 To 10 ' 歷經所有像素
' 逐行、逐字、逐像素地輸出圖像數據
If Rnd * 99 + 1 < cOdds Then ' 隨機生成雜點
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

需要用得頁面用如下方式引用:
驗證碼: <input name="txt_check" type="text" size=6 maxlength=4 class="input"> <img src="checkcode.asp " alt="驗證碼,看不清楚?請點擊刷新驗證碼" height="10" style="cursor : pointer;" onClick="this.src='checkcode.asp?t='+(new Date().getTime());" >

判斷頁面:
<%
if trim(session("validateCode")) <> trim(Request("txt_check")) then
ErrorMessage = "請輸入正確的驗證碼"
response.write(" <script>alert('"&ErrorMessage&"');location.href='Default.asp' </script>")
response.end
end if
%>

㈨ 提供一個asp的驗證碼的源代碼詳細點!!!!十分感謝!!!

3個頁面分別是:index.asp code.asp display.asp 當然,名字你可以隨便取,下面我們開始了:

一. index.asp 中代碼:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>驗證碼輸框</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="display.asp">
<input name="codeOK" type="text" size="6" onkeyup="value=value.replace(/[^\d]/g,'') ">
<a href="#2" title="單擊刷新此驗證碼"> <img border=0 src="code.asp" onClick="this.src='code.asp'" /></a>
<input type="submit" name="Submit" value="提交" />
</form>
</body>
</html>

二.code.asp

<%
Option Explicit
Response.buffer=true
Call Com_CreatValidCode("GetCode")
Sub Com_CreatValidCode(pSN)
Response.Expires = -1
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
Response.ContentType = "Image/bmp"
Randomize
Dim i, ii, iii
Const cOdds = 6 ' 雜點出現的機率
Const cAmount = 10 ' 文字數量
Const cCode = "0123456789abcd"
' 顏色的數據(字元,背景)
Dim vColorData(1)
vColorData(0) = ChrB(0) & ChrB(0) & ChrB(255) ' 藍0,綠0,紅0(黑色)
vColorData(1) = ChrB(255) & ChrB(255) & ChrB(255) ' 藍250,綠236,紅211(淺藍色)
' 隨機產生字元
Dim vCode(4), vCodes
For i = 0 To 3
vCode(i) = Int(Rnd * cAmount)
vCodes = vCodes & Mid(cCode, vCode(i) + 1, 1)
Next
Session(pSN) = vCodes '記錄入Session
' 字元的數據
Dim vNumberData(9)
vNumberData(0) = ""
vNumberData(1) = ""
vNumberData(2) = ""
vNumberData(3) = ""
vNumberData(4) = ""
vNumberData(5) = ""
vNumberData(6) = ""
vNumberData(7) = ""
vNumberData(8) = ""
vNumberData(9) = ""
' 輸出圖像文件頭
Response.BinaryWrite ChrB(66) & ChrB(77) & ChrB(230) & ChrB(4) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(54) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(40) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(10) & ChrB(0) &_
ChrB(0) & ChrB(0) & ChrB(1) & ChrB(0)
' 輸出圖像信息頭
Response.BinaryWrite ChrB(24) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(176) & ChrB(4) &_
ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) & ChrB(0) & ChrB(0) & ChrB(18) & ChrB(11) &_
ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) & ChrB(0) &_
ChrB(0) & ChrB(0)
For i = 9 To 0 Step -1 ' 歷經所有行
For ii = 0 To 3 ' 歷經所有字
For iii = 1 To 10 ' 歷經所有像素
' 逐行、逐字、逐像素地輸出圖像數據
If Rnd * 99 + 1 < cOdds Then ' 隨機生成雜點
Response.BinaryWrite vColorData(0)
Else
Response.BinaryWrite vColorData(Mid(vNumberData(vCode(ii)), i * 10 + iii, 1))
End If
Next
Next
Next
End Sub
%>

三.display.asp

<%
session("code")=Session("GetCode")
if int(session("code"))<>int(trim(request.form("codeOK"))) then
response.write "<script>alert('驗證碼錯誤!');history.go(-1); </script>"
response.end
else
response.write "<script>alert('正確!');history.go(-1); </script>"
response.end
end if

%>

㈩ thinkphp的驗證碼源碼放在哪個目錄求解,我沒找到

實現驗證碼的代碼是:

publicfunctionverify(){
//$type=isset($_GET['type'])?$_GET['type']:'gif';
import("ORG.Util.Image");
Image::buildImageVerify();
}

用到的其中的Image類在.class.php

熱點內容
常用的外文資料庫 發布:2024-11-15 21:37:22 瀏覽:9
vb軟體加密 發布:2024-11-15 21:17:23 瀏覽:596
本地ip可以搭伺服器嗎 發布:2024-11-15 21:04:27 瀏覽:163
阿里巴巴python 發布:2024-11-15 20:56:25 瀏覽:783
博圖腳本編輯 發布:2024-11-15 20:41:06 瀏覽:313
帶密碼的箱子鑰匙在哪裡 發布:2024-11-15 20:40:12 瀏覽:237
兩個次梁相交怎麼配置 發布:2024-11-15 20:27:35 瀏覽:374
android關機實現 發布:2024-11-15 20:26:42 瀏覽:57
木糠壓縮原理 發布:2024-11-15 20:22:53 瀏覽:655
編譯原理難以理解的問題 發布:2024-11-15 20:11:25 瀏覽:131