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:

Insert Line Feed Character (2004) StoreBuilder and PayPal (2002) Server crashes and triggers . . . are they linked? (2001) Grouping fields problem (1998) japanese characters (1997) Typhoon Rev. and PCS store problems (1999) SHOWIF/HIDEIF empty fields (2005) off topic - dna snipets (1997) 3RD POST Character limit in [Search]? (1998) WebCat2: Items xx to xx shown, etc. (1997) Add to a field (1998) shownext problems (1998) Re:quit command on NT (1997) [lineitems] and [writefile] (1998) Displaying photo attached to first record (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) Has anyone used WebCatalog with CGatePro? (2000) Capitalize (2003) searching multiple databases in single search (1997) WebTen? (1997)