Re: HideIf ip= OR ip=

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19486
interpreted = N
texte = >I'm trying to do a HideIf command based on IP address. I'm wondering if >it's possible to put 2 IP address in the command. > >Here's my code: >[hideif [ipaddress]^204.107.136.][include email.txt][/hideif] > >This seems to work fine with one number. > >I've tried putting in a comma along with another IP address and then it >breaks. > >Is it possible to have 2 numbers? Or is there a workaround?No, Pacific-Coast, in it's ultimate wisdom does not allow us to chain arguments in a hideif of showif context. Ken Grome will chime in shortly with a string of 30 lines or so using [math] commands or database searches, or whatever, but in the interim, try this:[hideif [ipaddress]^204.107.136.] [hideif [ipaddress]^204.204.118.] [include email.txt] [/hideif][/hideif] Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Associated Messages, from the most recent to the oldest:

    
  1. Re: HideIf ip= OR ip= (Michael Winston 1998)
  2. Re: HideIf ip= OR ip= (Brian B. Burton 1998)
  3. Re: HideIf ip= OR ip= (Michael Winston 1998)
  4. Re: HideIf ip= OR ip= (PCS Technical Support 1998)
  5. Re: HideIf ip= OR ip= (Christer Olsson 1998)
  6. HideIf ip= OR ip= (Sue Ann Sanders 1998)
>I'm trying to do a HideIf command based on IP address. I'm wondering if >it's possible to put 2 IP address in the command. > >Here's my code: >[hideif [ipaddress]^204.107.136.][include email.txt][/hideif] > >This seems to work fine with one number. > >I've tried putting in a comma along with another IP address and then it >breaks. > >Is it possible to have 2 numbers? Or is there a workaround?No, Pacific-Coast, in it's ultimate wisdom does not allow us to chain arguments in a hideif of showif context. Ken Grome will chime in shortly with a string of 30 lines or so using [math] commands or database searches, or whatever, but in the interim, try this:[hideif [ipaddress]^204.107.136.] [hideif [ipaddress]^204.204.118.] [include email.txt] [/hideif][/hideif] Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Brian B. Burton

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:

Folder Follies (1998) Sort Order on a page search (1997) Bug Report, maybe (1997) Plugin or CGI or both (1997) Pithy questions on webcommerce & siteedit (1997) Please please help (2001) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) SSL and 2.1.1 .acgi (1998) ' add to cart ' or ' sku ' problem (1998) WebCatalog Features (1997) [WebDNA] two ideas for running a cluster of WebDNA servers (2019) F3 crashing server (1997) WebCat2 beta 11 - new prefs ... (1997) Displaying search results in a new frameset (1997) Emailer setup (1997) Bug alert! (1997) Nested Loops and SHOWIFs (1997) Email Format (Umlaut) (2004) Don't tick me off :) [elaspedtime] (1997) Multiple fields on 1 input (1997)