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 lineof 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 eachtime 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 SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +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:
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 lineof 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 eachtime 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 SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +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)