欢迎来到天天文库
浏览记录
ID:24259498
大小:61.50 KB
页数:4页
时间:2018-11-13
《无组件生成bmp验证码》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、无组件生成BMP验证码>>教育资源库Call_CreatValidCode("ValidCode")Sub_CreatValidCode(pSN)’禁止缓存Response.Expires=-9999Response.AddHeader"Pragma","no-cache"Response.AddHeader"cache-ctrol","no-cache"Response.ContentType="Image/BMP"RandomizeDimi,ii,iiiConstcOdds=8’杂点出现的机率ConstcAmount=36’文字数量ConstcCode="0
2、123456789ABCDEFGHIJKLMNOPQRSTUVid(cCode,vCode(i)+1,1)NextSession(pSN)=vCodes’记录入Session’字符的数据DimvNumberData(35)vNumberData(0)="1110000111110111101111011110111101001011110100101111010010111101001011110111101111011110111110000111"vNumberData(1)="1111011111110001111111110111111111011111
3、111101111111110111111111011111111101111111110111111100000111"vNumberData(2)="1110000111110111101111011110111111111011111111011111111011111111011111111011111111011110111100000011"vNumberData(3)="111000011111011110111101111011111111011111110011111111110111111111101111011110111101111011
4、1110000111"vNumberData(4)="1111101111111110111111110011111110101111110110111111011011111100000011111110111111111011111111000011"vNumberData(5)="1100000011110111111111011111111101000111110011101111111110111111111011110111101111011110111110000111"vNumberData(6)=&1234下一页>>>>这篇文章来自..,。nb
5、sp;"1111000111111011101111011111111101111111110100011111001110111101111011110111101111011110111110000111"vNumberData(7)="1100000011110111011111011101111111101111111110111111110111111111011111111101111111110111111111011111"vNumberData(8)="1110000111110111101111011110111101111011111000
6、011111101101111101111011110111101111011110111110000111"vNumberData(9)="1110001111110111011111011110111101111011110111001111100010111111111011111111101111011101111110001111"vNumberData(10)="11110111111111011111111010111111101011111110101111111010111111000001111101110111110111011110001
7、00011"vNumberData(11)="1000000111110111101111011110111101110111110000111111011101111101111011110111101111011110111000000111"vNumberData(12)="1110000011110111101110111110111011111111101111111110111111111011111111101111101111011101111110001111"vNumberData(13)="1000001111110111011111011
8、110111101111
此文档下载收益归作者所有