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 chainarguments in a hideif of showif context. Ken Grome will chime in shortlywith 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:
>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 chainarguments in a hideif of showif context. Ken Grome will chime in shortlywith 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:
One more time (1997)
Problems with ^ could be solved with [REPLACE CHARACTERS] (1997)
Associative lookup style? + bit more (1997)
Stymied by [ShowNext] with drop down list on a form (1998)
Sendmail truncation in Eudora Clients (1998)
[WebDNA] Feature requests - date format (2009)
Proposed FormVariables hierarchy (2000)
calculating tax rates, mail order solutions and version 2 (1997)
syntax question, not in online refernce (1997)
Don't tick me off :) [elaspedtime] (1997)
WebDNA tags in WebMerchant email templates ... (1997)
Associative lookup style? + bit more (1997)
Date search bug? (1998)
Reminder... (2003)
Converting DOS database (2000)
Reversed words (1997)
Trapping already submitted carts (2000)
Moment of Thanks (1997)
Fedex integration (2005)
WebCat2 beta FTP site (1997)