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 the same character twice within one password. If this were used for different applications where long strings were needed, that would limit your string length to the number of characters in the database. If you cared, you could avoid that like this:[loop start=1&end=[pwlength]] [search db=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 Frechet Kenneth 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:

    
  1. Re: Random letter and/or number (Stuart Tremain 2001)
  2. Re: Random letter and/or number (John Peacock 2001)
  3. Re: Random letter and/or number (Marc Frechet 2001)
  4. Re: Random letter and/or number (Kenneth Grome 2001)
  5. Re: Random letter and/or number (Michael Davis 2001)
  6. Random letter and/or number (Stuart Tremain 2001)
A random academic point on that solution is that it will never pick the same character twice within one password. If this were used for different applications where long strings were needed, that would limit your string length to the number of characters in the database. If you cared, you could avoid that like this:[loop start=1&end=[pwlength]] [search db=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 Frechet Kenneth 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:

completed orders database (1997) Re:PCS Customer submissions ? (1997) wrong input values? (1997) Email Formatting and Encryption (1998) [convertChars] and in a textarea on a form (1998) removing programming logic white space (2003) ShowIf & HideIf Question? (1998) Formating found categories (1997) Online reference (1997) SiteEdit NewFile.html ? (1997) WebCat hosting providers? (1997) New Problem (1997) boldwords (2001) file truncation -- Mac plugin (2000) Webmessage Hyperboard (1998) blank page from template (1997) Help formatting search results w/ table (1997) Date problems-more (1997) Email (2000) RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013)