搜索列表
-
如何在ASP里建立表格?
【编程10000问】如何在ASP里建立表格?<% Dim conn Set conn = Server.CreateObject("ADODB.Connection") conn.Open "DSN=blah" ' 建立连接 Dim strSQL strSQL = "CREATE TABLE test (name varchar(50), age int)" conn.Execute strSQL %>
|如何|何在|在A|AS|SP|P里|里建|建立|立表|表格|格?|?| -
如何将访问者数目周期性地保存?
【编程10000问】如何将访问者数目周期性地保存?<script LANGUAGE="VBScript" RUNAT="Server">SUB Session-OnStart...Application.LockApplication("visitors")=Application("visitors") + 1' 增加访问计数t-visitors = Application("visitors")Application.UnLockSession("VisitorID")=t-visitorsI...
|如何|何将|将访|访问|问者|者数|数目|目周|周期|期性|性地|地保|保存|存?|?| -
如何用htmlEncode来显示Unicode?
【编程10000问】如何用htmlEncode来显示Unicode?<%@ Language=VBScript %><html><head><title>千花飞舞之UNICODE编码</title></head><body><%Dim strUdim strNormalstrU= ChrW(7913)strNormalANSI= "aiN"%><font face="arial" size=+...
|如何|何用|用h|ht|tm|ml|lE|En|nc|co|od|de|e来|来显|显示|示U|Un|ni|ic|co|od|de|e?|?| -
如何侦测HTTP表头信息?
【编程10000问】<html><head><title> 千花飞舞之HTTP headERS侦测< /title></head><body><TABLE BORDER=1><tr><td VALIGN=TOP><B>变量</B></td><td VALIGN=TOP><B>值</B>&...
|如何|何侦|侦测|测H|HT|TT|TP|P表|表头|头信|信息|息?|?| -
如何处理超时事件?
【编程10000问】如何处理超时事件?1、IIS为一个死循的执行过程设定执行时间(缺省为90秒)超时事件:<%response.buffer=true%><body><html><%DO counter=counter+1 response.write counter & "<br>" response.flushLOOP%></body></html>2、...
|如何|何处|处理|理超|超时|时事|事件|件?|?| -
如何验证日期输入是否正确?
【编程10000问】<%Option ExplicitDim strDate ' 记录输入的日期,字符型.Dim datDate ' 测试输入的日期是否正确,日期型.<html>%><head><title>千花飞舞之日期验证</title><meta http...
|如何|何验|验证|证日|日期|期输|输入|入是|是否|否正|正确|确?|?| -
如何在线更改密码?
【编程10000问】<%id = Request("id")newpassword = Request("password")newpasswordtemp = Request("passwordtemp") If newpassword <> newpasswordtemp ThenResponse.Write "<center>对不起,新密码与新密码确认不同.请重试!</center>"Response.EndEnd IfSet conn = Server.Crea...
|如何|何在|在线|线更|更改|改密|密码|码?|?| -
如何让用户也能修改密码?
【编程10000问】<%id = Request("id")newpassword = Request("password")newpasswordtemp = Request("passwordtemp")If newpassword <> newpasswordtemp ThenResponse.Write "<center>对不起,密码未能确认,请重新输入!</center>"Response.EndEnd If Set conn = Server.CreateObj...
|如何|何让|让用|用户|户也|也能|能修|修改|改密|密码|码?|?| -
如何取回已忘记的密码?
【编程10000问】forget.asp' 申请.<html><head><title>闪亮日子之用户密码核实</title></head><div align="center"><center><table border="0" cellspacing="0" width="600" height="158" > <tr> <td height="67"><p alig...
|如何|何取|取回|回已|已忘|忘记|记的|的密|密码|码?|?| -
如何将产生的密码记录并发送给用户并通过点击链接激活?
【编程10000问】<%@language="vbscript" %><% set mail= server.CreateObject("cdonts.newmail") mail.subject="恭喜,您在随风起舞注册成功,感谢您的参与!" mail.to = mailid mail.from ="song@intels.net" mail.body= "这是随风起舞寄给您的初始密码" & vbcrlf &href='mailto:mailid="user@intels...
|如何|何将|将产|产生|生的|的密|密码|码记|记录|录并|并发|发送|送给|给用|用户|户并|并通|通过|过点|点击|击链|链接|接激|激活|活?|?| -
如何做一个随机密码产生器?
【编程10000问】<%genPassword = ""RandomizeFor i = 1 to 8intNum = Int(10 * Rnd + 48)intUpper = Int(26 * Rnd + 65)intLower = Int(26 * Rnd + 97)intRand = Int(3 * Rnd + 1)Select Case intRandCase 1strPartPass = Chr(intNum)Case 2strPartPass = Chr(intUpper)Case 3strPartPass = Chr(intLow...
|如何|何做|做一|一个|个随|随机|机密|密码|码产|产生|生器|器?|?| -
如何利用当前时间生成随机函数?
【编程10000问】quote.asp<%Set MyFileObj = Server.CreateObject("Scripting.FileSystemObject")Set MyTextFile = MyFileObj.OpenTextFile("c:\quote.txt")' 设置好路径.IF NOT MyTextFile.AtEndOfStream THENheader = CInt(MyTextFile.ReadLine)' 读表头.END IFRANDOMIZE' 生成...
|如何|何利|利用|用当|当前|前时|时间|间生|生成|成随|随机|机函|函数|数?|?|