欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

如何編制一個(gè)產(chǎn)生隨機(jī)密碼的函數(shù)?

 更新時(shí)間:2006年11月16日 00:00:00   作者:  
<%
response.write makePassword(16)

function makePassword(byVal maxLen)

Dim strNewPass
Dim whatsNext, upper, lower, intCounter
Randomize

For intCounter = 1 To maxLen
    whatsNext = Int((1 - 0 + 1) * Rnd + 0)
If whatsNext = 0 Then
        upper = 90
        lower = 65
Else
        upper = 57
        lower = 48
End If
        strNewPass = strNewPass & Chr(Int((upper - lower + 1) * Rnd + lower))
Next
        makePassword = strNewPass
      '
指定字符范圍.

end function
%>

[1]

相關(guān)文章

最新評(píng)論