Re: [lookup] speed sales pitch

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53506
interpreted = N
texte = I think you might have a problem with phone numbers. People enter them in all sorts of ways. You would probably have to strip out all non-alpha numeric characters before doing the lookup. I haven't dealt with 4 million records but if your going to use lookup it is not really only one I think. I suppose you could do. [showif [UserEnteredPhone]=[lookup db=customers.db&lookinfield=USER&value=[url][UserEnteredUser][/url]&returnfield=PHONE]] [text multi=T]status=success&theID=[lookup db=customers.db&lookinfield=USER&value=[url][UserEnteredUser][/url]&returnfield=ID][/text] [/showif] (that's kindof two lookups with another search needed to grab user info) "[UserEnteredPhone]" would have to be cleaned and "USER" would have to be uppercased and have code to gaurantee its uniqueness. (registration would have to uppercase "user" also) Donovan Dan Strong wrote: > A client has asked that I build his login scheme so that his clients' > phone numbers are the password ... > He was worried that this might bog down the server since he has '4 > million' phone numbers (hey, that's what he said). > > I told him that the technique [lookup] I am using could handle this just > fine as it is not, technically, 'searching' 4 million phone numbers at > once, but rather 'looking for 1 phone number'. > > I know my explanation was simplistic, but any more detail would have > been lost on him.. > > Is my explanation basically true? Would 4 million (theoretically... I'm > sure he was exagerating...) records bog down a [lookup]? > > Now onto explaining to him that phone number-based passwords are > insecure... (if I know your name, chances are I know your phone number > or can get it relatively easily...) > > TIA, > > -Dan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [lookup] speed sales pitch ( Kenneth Grome 2003)
  2. Re: [lookup] speed sales pitch ( John Hill 2003)
  3. Re: [lookup] speed sales pitch ( John Peacock 2003)
  4. Re: [lookup] speed sales pitch ( Brian Fries 2003)
  5. Re: [lookup] speed sales pitch ( "Dan Strong" 2003)
  6. Re: [lookup] speed sales pitch ( Kenneth Grome 2003)
  7. Re: [lookup] speed sales pitch ( "Dan Strong" 2003)
  8. Re: [lookup] speed sales pitch ( Kenneth Grome 2003)
  9. Re: [lookup] speed sales pitch ( "Dan Strong" 2003)
  10. Re: [lookup] speed sales pitch ( John Peacock 2003)
  11. Re: [lookup] speed sales pitch ( "Dan Strong" 2003)
  12. Re: [lookup] speed sales pitch ( "Dan Strong" 2003)
  13. Re: [lookup] speed sales pitch ( Donovan Brooke 2003)
  14. Re: [lookup] speed sales pitch ( John Peacock 2003)
  15. [lookup] speed sales pitch ( "Dan Strong" 2003)
I think you might have a problem with phone numbers. People enter them in all sorts of ways. You would probably have to strip out all non-alpha numeric characters before doing the lookup. I haven't dealt with 4 million records but if your going to use lookup it is not really only one I think. I suppose you could do. [showif [UserEnteredPhone]=[lookup db=customers.db&lookinfield=USER&value=[url][UserEnteredUser][/url]&returnfield=PHONE]] [text multi=T]status=success&theID=[lookup db=customers.db&lookinfield=USER&value=[url][UserEnteredUser][/url]&returnfield=ID][/text] [/showif] (that's kindof two lookups with another search needed to grab user info) "[UserEnteredPhone]" would have to be cleaned and "USER" would have to be uppercased and have code to gaurantee its uniqueness. (registration would have to uppercase "user" also) Donovan Dan Strong wrote: > A client has asked that I build his login scheme so that his clients' > phone numbers are the password ... > He was worried that this might bog down the server since he has '4 > million' phone numbers (hey, that's what he said). > > I told him that the technique [lookup] I am using could handle this just > fine as it is not, technically, 'searching' 4 million phone numbers at > once, but rather 'looking for 1 phone number'. > > I know my explanation was simplistic, but any more detail would have > been lost on him.. > > Is my explanation basically true? Would 4 million (theoretically... I'm > sure he was exagerating...) records bog down a [lookup]? > > Now onto explaining to him that phone number-based passwords are > insecure... (if I know your name, chances are I know your phone number > or can get it relatively easily...) > > TIA, > > -Dan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

Suggestion: appendfounditems (2002) Word search (1997) form validator issue (2005) Cookie setting (2003) [WriteFile] problems (1997) 4.x code problem. (2000) Exclamation point (1997) Re:Searching for ALL / empty form field (1997) Hiccup ***** (1998) Triggers (2003) pretty Urgent: Crash after addlineitem (2001) Add message to Order (1997) WebCatalog Beta Documentation (1997) Stumpted Again (1997) [WebDNA] WebDNA Roll Call (2014) Strange Crash (1998) [cart]'s ever get recycled? (2000) F3 crashing server (1997) japanese characters (1997) Resume Catalog ? (1997)