'==============================
'============= CODE ============
'==============================
<%
Function Cript()
Dim strLetters, g, i
strLetters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
Randomize Timer
i = Int(Rnd * 62) + 1
g = Mid(strLetters, i, 1)
Cript = Int(Rnd * 999999) + 1 & g
End Function
%>
'==============================
'============= END ============
'==============================
How To Use IT : <% @LANGUAGE=VBScript %>
<% Option Explicit %>
<!-- #Include file="Functions.asp" -->
<%
Dim Cript_String
Cript_String = Cript
Response.Write(Cript_String)
%>
This article was originally written by Cadey |