Generate a random alpha-numeric string
numero = 49[text]PasswordLength=8[/text][text]Chars=abcdefghijkmpqrstuvwxyz23456789[/text][text]Max=[countchars][Chars][/countchars][/text][text]Pass=[/text][loop start=1&end=[PasswordLength]] [text]X=[math]ceil([random format=float]*[Max])[/math][/text] [text]Pass=[Pass][getchars start=[X]&end=[X]][Chars][/getchars][/text][/loop][Pass]You can change [PasswordLength] to whatever you need, so if you wanted to generate a 128 character key, for instance, change it to 128.Also, for my purposes, I removed any characters that would be 'confusing' (e.g. 1 & l, O &0), but you can have whatever characters you like in the [Chars] variable.
[text]PasswordLength=8[/text]
[text]Chars=abcdefghijkmpqrstuvwxyz23456789[/text]
[text]Max=[countchars][Chars][/countchars][/text]
[text]Pass=[/text]
[loop start=1&end=[PasswordLength]]
[text]X=[math]ceil([random format=float]*[Max])[/math][/text]
[text]Pass=[Pass][getchars start=[X]&end=[X]][Chars][/getchars][/text]
[/loop]
[Pass]
DOWNLOAD WEBDNA NOW!
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Download WebDNA ApplicationsWebDNA applications...
F.A.QA compilation of some user's questions...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA reference...
This will show or hide stuff according to the IP...
Setting a 30-minute CookieConfiguring the expires time for a short-term cookie is tricky...
Handling credit card numbersEncrypting the credit card numbers does the job quite nicely...
Removing whitespaceHow can I remove all whitespace entered by a user from an input box (ie card number)...
random password-generator codeGenerate a random alpha-numeric string...
How many working days?This small script finds the number of working days between two dates...