当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 一共4个页面:form.asp; chk.asp; num.asp; count.asp得到一个随即数字。
 

 

    摘要:http://blog.csdn.net/rewen/archive/2004/08/14/creamandbone.aspx ......
    摘要:作者: matt zandstra 翻译: haohappy 04-8-20 haohappy@msn.com本文面向的读者 简介 在php5之前的错误处理 -使用die()或trigger_error() -返回错误标记 -使用pear处理错误 php5的异常机制 -使用throw关键字 -try-catch语句 -处理多个错误 -自定义异常类型 -异常的传递 -更......


验证码的程序及原理

一共4个页面:form.asp; chk.asp; num.asp; count.asp

解密后成成xbm图片 【程序编程相关:C++ 枚举类型的思考

得到一个随即数字.加密! 【推荐阅读:网络数据流的java处理

form.asp 【扩展信息:使用C和汇编混合实现strcpy(欢迎扔

利用session 判断

<%

´### to encrypt/decrypt include this code in your page

´### strmyencryptedstring = encryptstring(strstring)

´### strmydecryptedstring = decryptstring(strmyencryptedstring)

´### you are free to use this code as long as credits remain in place

´### also if you improve this code let me know.

private function encryptstring(strstring)

´####################################################################

´### crypt function (c) 2001 by slavic kozyuk grindkore@yahoo.com ###

´### arguments: strstring <--- string you wish to encrypt ###

´### output: encrypted hex string ###

´####################################################################

dim charhexset, intstringlen, strtemp, strraw, i, intkey, intoffset

randomize timer

intkey = round((rnd * 1000000) + 1000000) ´##### key bitsize

intoffset = round((rnd * 1000000) + 1000000) ´##### keyoffset bitsize

if isnull(strstring) = false then

strraw = strstring

intstringlen = len(strraw)

for i = 0 to intstringlen - 1

strtemp = left(strraw, 1)

strraw = right(strraw, len(strraw) - 1)

charhexset = charhexset & hex(asc(strtemp) * intkey)& hex(intkey)

next


...   下一页
 ·时间管理的十大关键    »显示摘要«
    摘要:一、时间管理第一大关键是设立明确的目标;成功等于目标,时间管理的目的是让你在最短时间内实现更多你想要实现的目标; 你必须把今年度4到10个目标写出来,找出一个核心目标,并依次排列重要性,然后依照你的目标设定一些详细的计划,你的关键就是依照计划进行。 二、第二个时间管理的关键是你要列一张总清单,把今年所要做的每一件事情都列出来,并进行目标切割;1. 年度目标切割成季度目标,列出清单,每一季度要做......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE