如何製作驗證碼?

General 更新 2024年4月15日

手機驗證碼功能怎麼做

這個要跟銀行聯繫的,哪個銀行就讓那個銀行的業務綁定你的手機就可以了,而且有的銀行是免費,有飢銀行是收費的。和手機沒有多大關係!~直接打銀行服務熱線也可以!~以下是各大銀行服務熱線:

中國銀聯客戶服務電話:95516 中國建設銀行服務電話:95533

中國招商銀行服務電話:95555 中國銀行服務電話:95566

中國華夏銀行服務電話:95577 中國工商銀行服務電話:95588

中國農業銀行服務電話:95599 中國中信銀行服務電話:95558

中國交通銀行服務電話:95559 中國興業銀行服務電話:95561

中國民生銀行服務電話:95568 中國光大銀行服務電話:95595

希望我的回答能幫到你,希望你採納。

網頁如何製作驗證碼

首先要創建三個文件checkcode.aspbody.FixHead.Fix打開checkcode.asp將下面代碼複製進去<%Option ExplicitResponse.buffer=trueNumCodeFunction NumCode() Response.Expires = -1 Response.AddHeader "Pragma","no-cache" Response.AddHeader "cache-ctrol","no-cache" On Error Resume Next Dim zNum,i,j Dim Ados,Ados1 Randomize timer zNum = cint(8999*Rnd+1000) Session("CheckCode") = zNum Dim zimg(4),NStr NStr=cstr(zNum) For i=0 To 3 zimg(i)=cint(mid(NStr,i+1,1)) Next Dim Pos Set Ados=Server.CreateObject("Adodb.Stream") Ados.Mode=3 Ados.Type=1 Ados.Open Set Ados1=Server.CreateObject("Adodb.Stream") Ados1.Mode=3 Ados1.Type=1 Ados1.Open Ados.LoadFromFile(Server.mappath("body.Fix")) Ados1.write Ados.read(1280) For i=0 To 3 Ados.Position=(9-zimg(i))*320 Ados1.Position=i*320 Ados1.write ados.read(320) Next Ados.LoadFromFile(Server.mappath("head.fix")) Pos=lenb(Ados.read()) Ados.Position=Pos For i=0 To 9 Step 1 For j=0 To 3 Ados1.Position=i*32+j*320 Ados.Position=Pos+30*j+i*120 Ados.write ados1.read(30) Next Next Response.ContentType = "image/BMP" Ados.Position=0 Response.BinaryWrite Ados.read() Ados.Close:set Ados=nothing Ados1.Close:set Ados1=nothing If Err Then Session("CheckCode") = 9999End Function%>打開body.Fix 保存接下來再用到驗證碼的地方可以這樣寫 驗證是否正確可以判斷 你輸入的驗證碼和 CStr(session("CheckCode"))是否相等即可

驗證碼字庫如何製作啊?

很明顯能看出來,這些驗證碼是用JAVA隨機生成並永久保存使用的,因為圖像比較簡單。 通過“071,636,164,567,201”能夠看出來,該網站的驗證碼數量可能有99兆個約0.099吉個, 就算你拿100人民幣可能也不會有人願意編寫源代碼,因為僅生成出所有組合至少要幾個月時間 網站的99兆個驗證碼只是冰山一角,網上流傳的“驗證碼字庫”只能觀賞,實際破解驗證碼 的通用方法是分割法,把每個數字或者字母分割成上下兩個部分,然後分兩次識別,對於 複雜的驗證碼,需要把閥值調低,儘管這樣,我們民間製作的非盈利識別器的識別率也很低, 建議你不要再嘗試了,很浪費時間。我花了3個月,騰訊QQ註冊的驗證碼識別率還不到 十分之一。 給你另外一種方法,如果你打字速度比較快,可以用N個webbrowser,用TextBox把驗證碼放在一排, 然後人工輸入驗證碼,我個人認為這是最好的方法。 【以上為個人觀點,僅供參考】

怎樣做手機驗證碼

不同的網站有不同的方法

憨般是:1.你聯繫你註冊的網站的業務人員,告訴他們你的註冊信息,人家會給你答覆的。

2.請某個已註冊的同學證實您的身份的真實性。

然後短信或電話等通知網管,請求確認授權

網頁製作 驗證碼怎麼弄

Header("Content-type: image/gif"); $im = imagecreate(40,22); $black = ImageColorAllocate($im, 0,0,0); $white = ImageColorAllocate($im, 255,255,255); imageline($im, 1, 1, 100, 25, $black); imagestring($im, 3, 6, 5, rand(1000,9999), $white); ImageGif($im); ImageDestroy($im); 這是PHP中做驗證碼的效果,其中有些你可以改,這是個例子,你看看!

用java怎麼製作驗證碼

import javax.servlet.http.HttpServlet;

import javax.servlet.*;

import javax.servlet.http.*;

import java.io.*;

import java.util.*;

import com.briup.run.common.util.RandomChar;

import com.sun.image.codec.jpeg.*;

import java.awt.*;

import java.awt.image.*;

public class AuthImg extends HttpServlet {

//private static final String CONTENT_TYPE = "text/html; charset=UTF-8";

private static final long serialVersionUID = 12333L;

private Font mFont = new Font("Times New Roman", Font.PLAIN, 18);

// Initialize global variables

public void init() throws ServletException {

}

// Process the HTTP Get request

public void doGet(HttpServletRequest request, HttpServletResponse response)

throws ServletException, IOException {

response.setContentType("image/jpeg");

ServletOutputStream out = response.getOutputStream();

int width = 60, height = 20;

BufferedImage image = new BufferedImage(width, height,

BufferedImage.TYPE_INT_RGB);

Graphics g = image.getGraphics();

Random random = new Random();

g.setColor(getRandColor(200, 250));

g.fillRect(0, 0, width, height);

g.setFont(mFont);

g.setColor(getRandColor(160, 200));

for (int i = 0; i < 155; i++) {

int x = random.nextInt(width);

int y = random.nextInt(height);

int xl = random.nextInt(12);

int yl = random.nextInt(12);

g.drawLine(x, y, x + xl, y + yl);

}

String rand = RandomChar.getChars(3, 4);

char c;

for (int i = 0; i &......

怎麼做登陸的驗證碼

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%

String path = request.getContextPath();

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>

<%@ page contentType="image/jpeg" import="java.awt.*,java.awt.image.*,java.util.*,javax.imageio.*" %>

My JSP 'image.jsp' starting page

<%!

Color getRandColor(int fc,int bc){//給定範圍獲得隨機顏色

Random random = new Random();

if(fc>255) fc=255;

if(bc>255) bc=255;

int r=fc+random.nextInt(bc-fc);

int g=fc+random.nextI......

網頁裡的驗證碼怎麼做出來的

是一中動態生成圖片的技術,做驗證碼的前提是網站必需要是動態的,用ASP、PHP、.NET、JSP等中的一種,因為每種語言都有他畫圖的函數,可以將數字,字符串等畫成圖片顯示,在畫圖的同時會將用於生成圖片的字符串保存,以便用戶輸入後驗證用。

所以圖片上的字符是隨機取得字符串後,再用相應的函數動態繪製出來的。

Dreamweaver怎麼製作驗證碼? 100分

Dreamweaver製作最簡單的驗證碼程序:

1、取得4位數的驗證碼,並記錄入COOKIES;

<%

Dim num1,rndnum

Randomize

Do While Len(rndnum)<4

num1=CStr(Chr((57-48)*rnd+48))

rndnum=rndnum&num1

Loop

response.cookies("vcode")=rndnum

%>

2、添加調用的驗證碼;

<%=request.cookies("vcode")%>

3、判斷提交的驗證碼是否正確。

<%

if request.cookies("vcode")<>trim(request("vcode")) then

Response.Write ""

else

'這裡添加驗證碼正確時候應該編寫的程序

end if

%>

求助大神,如何製作網頁驗證碼

//生成驗證碼 public string CreateRandomCode(int codeCount)//參數為驗證碼位數 { string allChar = "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z"; string[] allCharArray = allChar.Split(','); string randomCode = ""; int temp = -1; Random random = new Random(); for (int i = 0; i < codeCount; i++) { if (temp != -1) { random = new Random(i * temp * ((int)DateTime.Now.Ticks)); } int t = random.Next(36); if (temp == t) { return CreateRandomCode(codeCount); } temp = t; randomCode += allCharArray[t]; } return randomCode; } //生成圖片 public byte[] CreateValidateGraphic(string validateCode)//參數是上面生成的隨機數 { Bitmap image = new Bitmap((int)Math.Ceiling(validateCode.Length * 16.0), 30); Graphics g = Graphics.FromImage(image); try { Random random = new Random(); g.Clear(Color.White); //1、畫驗證碼干擾線【背景】 for (int i = 0; i < 50; i++) { int x1 = random.Next(image.Width); int x2 = random.Next(image.Width); int y1 = random.Next(image.Width......

相關問題答案
如何製作驗證碼?
如何製作二維碼照片?
如何製作店鋪二維碼?
條形碼如何製作?
榮譽證書如何製作?
如何製作微信二維碼?
如何製作條碼?
如何製作自己的二維碼?
如何製作紅包二維碼?
如何製作企業二維碼?