Re: Hideif on IP range
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59332
interpreted = N
texte = on 9/9/2004 11:35 am, Paul Berman at paul@ast.jagrove.com so noted...> THanks for this, looking at the ranges we have to block there are 10 ranges> at the moment> > I prsume this will work but just looks a bit untidy although the dont show> stuff bit is Page Not Found so not too bulkyYou could have your ranges set a flag, then show/hide based upon the flag.[if ("[ipaddress]">"194.158.031.255")&("[ipaddress]"<"194.158.064.000")][then][text]block=T[/text][/then][/if][if ("[ipaddress]">"194.049.120.255")&("[ipaddress]"<"194.049.122.000")][then][text]block=T[/text][/then][/if].... (eight more ranges) ...[hideif [block]=T]don't show stuff[/hideif][showif [block]!T]show stuff[/hideif]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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/
Associated Messages, from the most recent to the oldest:
on 9/9/2004 11:35 am, Paul Berman at paul@ast.jagrove.com so noted...> THanks for this, looking at the ranges we have to block there are 10 ranges> at the moment> > I prsume this will work but just looks a bit untidy although the dont show> stuff bit is Page Not Found so not too bulkyYou could have your ranges set a flag, then show/hide based upon the flag.[if ("[ipaddress]">"194.158.031.255")&("[ipaddress]"<"194.158.064.000")][then][text]block=T[/text][/then][/if][if ("[ipaddress]">"194.049.120.255")&("[ipaddress]"<"194.049.122.000")][then][text]block=T[/text][/then][/if].... (eight more ranges) ...[hideif [block]=T]don't show stuff[/hideif][showif [block]!T]show stuff[/hideif]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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/
Rob Marquardt
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: [input] formating (1998)
Emailer (1997)
Major Security Hole (1998)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Credit card arrangement (2005)
WebCat2final1 crashes (1997)
Auto SKU's (2000)
How true is this? (1999)
Small problem with searching (2002)
Help! WebCat2 bug (1997)
CustomerType - WebDNA Variable (2004)
Hiding HTML and page breaks (1997)
Sorting by date (1997)
can WC render sites out? (1997)
Mac Vs WindowsNT (1997)
WebMerchant & WebDelivery (2003)
Secure server question (1997)
Clean Code: Rules for inserting keyboard returns? (1997)
Auto SKU's (2000)
customizing the color of user's pages (1997)