Re: Random letter and/or number
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38247
interpreted = N
texte = A random academic point on that solution is that it will never pick thesame character twice within one password. If this were used fordifferent applications where long strings were needed, that would limityour string length to the number of characters in the database. If youcared, you could avoid that like this:[loop start=1&end=[pwlength]][searchdb=alphanum.db&neCHARdata=find_all&raCHARsort=1&randseed=[random][random][random]&max=1][founditems][char][/founditems][/search][/loop]But again, this hardly seems important for an 8-16 character string...Marc FrechetKenneth Grome wrote:> > >I am familiar with the [random] tag, but is there a method for> >creating a random alphanumeric sequence such as:> >> >g39hys> >> >To be used for randomly generated passwords etc?> > Yes, create a database of alphanumeric characters, then search for> all records and sort the results in random order, then grab as many> of the founditems as you need for the length of your password.> > ----------------------------------------------------> Kenneth Grome & Associates> web: http://kengrome.com> email: owner@kengrome.com> mobile: +63 917 254-1494> office: +63 32 262-8164> ----------------------------------------------------> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
A random academic point on that solution is that it will never pick thesame character twice within one password. If this were used fordifferent applications where long strings were needed, that would limityour string length to the number of characters in the database. If youcared, you could avoid that like this:[loop start=1&end=[pwlength]][searchdb=alphanum.db&neCHARdata=find_all&raCHARsort=1&randseed=[random][random][random]&max=1][founditems][char][/founditems][/search][/loop]But again, this hardly seems important for an 8-16 character string...Marc FrechetKenneth Grome wrote:> > >I am familiar with the [random] tag, but is there a method for> >creating a random alphanumeric sequence such as:> >> >g39hys> >> >To be used for randomly generated passwords etc?> > Yes, create a database of alphanumeric characters, then search for> all records and sort the results in random order, then grab as many> of the founditems as you need for the length of your password.> > ----------------------------------------------------> Kenneth Grome & Associates> web: http://kengrome.com> email: owner@kengrome.com> mobile: +63 917 254-1494> office: +63 32 262-8164> ----------------------------------------------------> > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Marc Frechet
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Intranet site request (2010)
HTTP upload (2000)
Web Developer Product Awards (1997)
[WriteFile] problems (1997)
Credit Card Number checking (1997)
[WebDNA] Spambots, message boards and such (2008)
suffix mapping for NT? (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
WC TableGrinder (1997)
[Sum] function? (1997)
OT:looking for developers with solutions (2000)
WebCatalog2 Feature Feedback (1996)
Foreign Chars (יאצה and so on) (1998)
WebCat2 several catalogs? (1997)
syntax question, not in online refernce (1997)
RE: Purchased cart being overwritten - still !?? (1997)
Tracking System? (1997)
Hiding HTML and breaking the page (1997)
emailer (1997)
WebCatalog dying in NT (1998)