random password-generator code

Generate a random alpha-numeric string

[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]


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. Dan Strong


Top Articles:

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...


BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA reference

A list of all WebDNA instructions...


A compilation of some user's questions...

WebDNA Modules

A list of the currently available modules...

Related Readings:

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses...

Hideif on IP range

This will show or hide stuff according to the IP...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...


Use ImageMagick to manipulate images when you upload them...

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...