What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Hideif not working?

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39363
interpreted = N
texte = Alain Russell wrote: > > Turn the comparison around .. > > [hideif root.exe+favicon+scripts^[thisurl]] > > [hideif [thisurl]^root.exe+favicon+scripts]I think that you will find that both ways will fail. Here's why:[thisurl] will contain something like this: /favicon.ico /MSADC/root.exe or /scripts/root.exeand any one term can be search for using [hideif [thisurl]^favicon] [hideif [thisurl]^root.exe] [hideif [thisurl]^scripts]since those strings are proper subsets of the contents of [thisurl]. However, the string root.exe+favicon+scripts will never be found as it stands inside any [thisurl] that will be requested.You are looking for an OR operator, which does not, by itself, exist with the [hideif] context. However, like most things in life, you can use [grep] to do what you want:[text]mysearch=[grep search=(root.exe|favicon|scripts)&replace=_FOUND_][thisurl][/grep][/text][hideif [mysearch]^_FOUND_]...[/hideif]which will find all instances of either of the three search terms and replace them with _FOUND_, which can then be tested. For example, if [thisurl] = /scripts/root.exe then [mysearch] = /_FOUND_/_FOUND_HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Hideif not working? (John Peacock 2001)
  2. Re: Hideif not working? (Donovan Brooke 2001)
  3. Re: Hideif not working? (Jeff Logan 2001)
  4. Re: Hideif not working? (Alain Russell 2001)
  5. Hideif not working? (Jeff Logan 2001)
Alain Russell wrote: > > Turn the comparison around .. > > [hideif root.exe+favicon+scripts^[thisurl]] > > [hideif [thisurl]^root.exe+favicon+scripts]I think that you will find that both ways will fail. Here's why:[thisurl] will contain something like this: /favicon.ico /MSADC/root.exe or /scripts/root.exeand any one term can be search for using [hideif [thisurl]^favicon] [hideif [thisurl]^root.exe] [hideif [thisurl]^scripts]since those strings are proper subsets of the contents of [thisurl]. However, the string root.exe+favicon+scripts will never be found as it stands inside any [thisurl] that will be requested.You are looking for an OR operator, which does not, by itself, exist with the [hideif] context. However, like most things in life, you can use [grep] to do what you want:[text]mysearch=[grep search=(root.exe|favicon|scripts)&replace=_FOUND_][thisurl][/grep][/text][hideif [mysearch]^_FOUND_]...[/hideif]which will find all instances of either of the three search terms and replace them with _FOUND_, which can then be tested. For example, if [thisurl] = /scripts/root.exe then [mysearch] = /_FOUND_/_FOUND_HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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:

Alternative To WebDNA? (2006) SiteGuard Use Question (1997) Encrypted Templates Serving as Text (2000) garbage on page (2000) AUTONUMBER (2004) A little syntax help (1997) OT: Version Control (2007) Re:Webmessage Hyperboard (1998) Looking for a Manual (1997) [SearchString] usage (1997) OT: create a KDE Screen Saver for Linux (2003) locking variables? (2000) Grouping search fields, etc. (1997) Error Lob.db records error message not name (1997) convertchars and e-mail (1998) There's a bug in the math context ... (1997) [WebDNA] Grep out square brackets? (2010) [referrer] tag (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Sorting search by date. (2000)