Re: For you expert WebDNA coders (was Re: Interesting speed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54402
interpreted = N
texte = Bob, Wow! That's really great. Thanks. Of course, I'd have to move the thens and elses to their own lines. But this is exactly like the PHP code. Again, many thanks. -lucas On Friday, November 21, 2003, at 02:53 PM, Rob Marquardt wrote: > If I'm reading you correctly, you're just looking for the value of a > single > passed variable (page) so the [formvariables] is some serious overkill. > > [if "[url][page][/url]"!"%5Bpage%5D"][then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"][then] > [include file=includes/[page].inc] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > [/fileInfo] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > > > > 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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
Bob, Wow! That's really great. Thanks. Of course, I'd have to move the thens and elses to their own lines. But this is exactly like the PHP code. Again, many thanks. -lucas On Friday, November 21, 2003, at 02:53 PM, Rob Marquardt wrote: > If I'm reading you correctly, you're just looking for the value of a > single > passed variable (page) so the [formvariables] is some serious overkill. > > [if "[url][page][/url]"!"%5Bpage%5D"][then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"][then] > [include file=includes/[page].inc] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > [/fileInfo] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > > > > 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://webdna.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://webdna.smithmicro.com/ Lucas Rockwell

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:

RE: [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) Setting up shop (1997) Press Release hit the NewsWire!!! (1997) No luck with taxes (1997) Fun with Dates - revisited (1997) Newbie from and old bee (1997) ShippingCosts (1998) Dynamic PDFs? (2002) Running _every_ page through WebCat ? (1997) Out of the woodwork (2007) Nested Loops and SHOWIFs (1997) Copyfile to length limit for absolute paths (2003) Webmerchant + Hubby (1998) showif and cart (1997) & in Lookups (1997) Serving images from databases (1998) WebCatalog NT beta 18 now available (1997) please unsubscribe me! (2000) [WebDNA] PayPal Integration (2017) Fun with [middle] (2002)