如何做一个随机密码产生器?

<%
genPassword = “”
Randomize
For i = 1 to 8
intNum = Int(10 * Rnd + 48)
intUpper = Int(26 * Rnd + 65)
intLower = Int(26 * Rnd + 97)
intRand = Int(3 * Rnd + 1)
Select Case intRand
Case 1
strPartPass = Chr(intNum)
Case 2
strPartPass = Chr(intUpper)
Case 3
strPartPass = Chr(intLower)
End Select
genPassword = genPassword & strPartPass
Next
response.write(genPassword & “<br>”)
%>

显示浏览器表头信息和服务器变量
<%
For Each name In Request.ServerVariables
Response.write(“<b>”&name&”</b>:<br>”)
Response.write(Request.ServerVariables(name))
Next
%>xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??

[1]

共计人评分,平均

到目前为止还没有投票!成为第一位评论此文章。

(0)
心中带点小风骚的头像心中带点小风骚普通用户
上一篇 2023年12月29日
下一篇 2023年12月29日

相关推荐