首页 | 免费域名 | 个人服务器 | 一流信息监控拦截系统 | 虚拟主机知识库 | ASP 空间 | ASP技术大全 | 下载中心 | 客户服务中心
  7i24 > ASP技术大全 > 代码乐园 >
    7i24 .Com  
  随机密码产生器

7i24.Com不停为您服务
随机密码产生器
<%
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 & "
")
%>

Display All Browser Headers and Server Variables
<%
For Each name In Request.ServerVariables
Response.write("<b>"&name&"</b>:
")
Response.write(Request.ServerVariables(name))
Next
%>


  2002年1月9日  阅读 1182 次  发送此页给朋友  来源:    版权争议  删除

相关文章:   近期热点:

上一篇: 测试字符串是否为big或big5码
下一篇: 检测提交数据的函数
返回上一层...
搜索:

(C)2004-2022 7i24.Com 保留所有权利