Re: Late on Friday.... brain fried

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41525
interpreted = N
texte = I read through this whole thread and wasn't going to add my two cents - honest - but I just can't resist...Why aren't you using a lookup to a database? You can add a whole pile of individual IP's to a database and write ONE line of code to check them all.[hideif [lookup....¬Found=Your not allowed]=Your not allowed] secret stuff... [/hideif]The best part about this solution is you don't have to change the code each time you decide to add another IP into the allowed list. On 14/7/02 3:28 PM, Jeff Logan wrote:> Sweat I did not know this. > > Jeff Logan > > >> on 7/12/02 10:09 PM, Gary Krockover at gary@garykrockover.com so noted... >> >>> ex1: [hideif [sales1][sales2]=] >>> something >>> [/hideif] >>> >>> ex2: [showif [sales1][sales2]=] >>> something >>> [/showif] >>> >>> I haven't tried it for 3 or more variables, but if 2 work, who knows. >> >> You can put in three, you can put in 10, you can put in 100. Variables get >> replaced with their contents and the comparison is made. >> >> >> Rob Marquardt >> Designer/Resident Wirehead >> Toast Design >> >> 800 Washington Avenue North >> Minneapolis MN 55401 >> 612.330.9863 v >> 612.321.9424 f >> www.toastdesign.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/ > > > > InsideOut Marketing and Web Solutions - 229 South Sequim Ave, Sequim, WA 98382 > Web Design and Hosting, Business Marketing, Print Design and Management > > Toll Free: 1-800-500-8401 > Phone: 360.683.5774 > Fax: 360.683.5857 > Email: mailto:jeff@insideout.com > Web: http://www.insideout.com > > ----------------------------------------------------------------- > Learn about our company at http://www.savvyinnkeeper.com > Demo our B&B hosting features at http://www.sampleinn.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/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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: Late on Friday.... brain fried (Andrew Simpson 2002)
  2. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  3. Re: Late on Friday.... brain fried (Rob Marquardt 2002)
  4. Re: Late on Friday.... brain fried (Gary Krockover 2002)
  5. Re: Late on Friday.... brain fried (Jesse Williams-Proudman 2002)
  6. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  7. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  8. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  9. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  10. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  11. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  12. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  13. Re: Late on Friday.... brain fried (Bob Minor 2002)
  14. Re: Late on Friday.... brain fried (Pedro Rivera 2002)
  15. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  16. Re: Late on Friday.... brain fried (Jesse Williams-Proudman 2002)
  17. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  18. Re: Late on Friday.... brain fried (Pedro Rivera 2002)
  19. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  20. Re: Late on Friday.... brain fried (Marc Kaiwi 2002)
  21. Re: Late on Friday.... brain fried (Jeff Logan 2002)
  22. Re: Late on Friday.... brain fried (Grant Hulbert 2002)
  23. Late on Friday.... brain fried (Jeff Logan 2002)
I read through this whole thread and wasn't going to add my two cents - honest - but I just can't resist...Why aren't you using a lookup to a database? You can add a whole pile of individual IP's to a database and write ONE line of code to check them all.[hideif [lookup....¬Found=Your not allowed]=Your not allowed] secret stuff... [/hideif]The best part about this solution is you don't have to change the code each time you decide to add another IP into the allowed list. On 14/7/02 3:28 PM, Jeff Logan wrote:> Sweat I did not know this. > > Jeff Logan > > >> on 7/12/02 10:09 PM, Gary Krockover at gary@garykrockover.com so noted... >> >>> ex1: [hideif [sales1][sales2]=] >>> something >>> [/hideif] >>> >>> ex2: [showif [sales1][sales2]=] >>> something >>> [/showif] >>> >>> I haven't tried it for 3 or more variables, but if 2 work, who knows. >> >> You can put in three, you can put in 10, you can put in 100. Variables get >> replaced with their contents and the comparison is made. >> >> >> Rob Marquardt >> Designer/Resident Wirehead >> Toast Design >> >> 800 Washington Avenue North >> Minneapolis MN 55401 >> 612.330.9863 v >> 612.321.9424 f >> www.toastdesign.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/ > > > > InsideOut Marketing and Web Solutions - 229 South Sequim Ave, Sequim, WA 98382 > Web Design and Hosting, Business Marketing, Print Design and Management > > Toll Free: 1-800-500-8401 > Phone: 360.683.5774 > Fax: 360.683.5857 > Email: mailto:jeff@insideout.com > Web: http://www.insideout.com > > ----------------------------------------------------------------- > Learn about our company at http://www.savvyinnkeeper.com > Demo our B&B hosting features at http://www.sampleinn.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/-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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/ Andrew Simpson

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:

WebCat2_Mac RETURNs in .db (1997) Append command(2) (2000) multi-paragraph fields (1997) Sherlock and WebCat-2 (1998) [redirect] question (2005) What am I missing (1997) HTML encoding in URLs (1997) [ShowIf] if the varieable exists (1998) RAM variables (1997) GuestBook example (1997) select multiple (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Possible solution to malformed pages in NN (2000) formula inside database to calculate weights (1997) Fun with dates (1997) Using Applescript to process WebCatalog functions (1998) server side includes & webcatalog (2000) Implementing Gift Certificates in online store (1998) Dumb Question about Docs (1997) PIXO (1997)