Re: HideIf ip= OR ip=
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19483
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]No, but you can create a small database table of allowed ip addresses, andthen use a [lookup] inside your HideIf instead. That way you can checkagainst hundreds of ip addresses (or just 2).Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
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]No, but you can create a small database table of allowed ip addresses, andthen use a
[lookup] inside your HideIf instead. That way you can checkagainst hundreds of ip addresses (or just 2).Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
[listfiles] anomaly (2003)
Allow-Deny: Solved with [Getchars] (1998)
Text data with spaces in them... (1997)
Webstar 1.3.1 PPC (1997)
WebCat2b15MacPlugin - showing [math] (1997)
searchable list archive (1997)
File Upload (1997)
Deleting Orders (1997)
[ot] html question (2000)
Searching multiple fields from one form field (1997)
RED QUESTION MARK (1999)
Variables for chat (1997)
First postarg not taking in $Commands (1997)
[WebDNA] Upgrade 4.5.1 to 6.0a (2009)
WebStar Secure on other machine (1997)
HELP WITH DATES (1997)
[WebDNA] Sort by Row (2017)
Createfolder OSX WC3.08 (2001)
Using tags to create a file name (2000)
[WebDNA] PDF creation (2013)