Randomize()
PassLen = 0
CurrPass = ""
do while PassLen < 7
CurrLtr = Int((42 * Rnd()) + 48)
if CurrLtr < 57 or CurrLtr > 65 then
CurrPass = CurrPass & Chr(CurrLtr)
PassLen = PassLen + 1
end if
loop
.
b]If you're using passwords of any type on your site, it is best to keep them random. That way they cannot be easily guessed at by intruders.[/b] [eek] [bigsmile]