Re: Problems with ^ could be solved with [REPLACE CHARACTERS]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14178
interpreted = N
texte = >But then I ran into an old problem again. If the text a want to check for >bad words contains ! the DNS breaks because WebCat I want to compare not >equal to and not contains.Try wrapping [url] around the text so a literal ! won't appear inside it:[showif [url]!^[/url]^[url]^[/url]]You're basically wrapping both sides of the ^ equation with URL conversions, which causes the special characters to be encoded (very similar to what you're asking for in a special ConvertChars).Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  2. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  3. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  4. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  5. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  6. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
  7. Re: Problems with ^ could be solved with [REPLACE CHARACTERS] (Grant Hulbert 1997)
  8. Problems with ^ could be solved with [REPLACE CHARACTERS] (Christer Olsson 1997)
>But then I ran into an old problem again. If the text a want to check for >bad words contains ! the DNS breaks because WebCat I want to compare not >equal to and not contains.Try wrapping [url] around the text so a literal ! won't appear inside it:[showif [url]!^[/url]^[url]^[/url]]You're basically wrapping both sides of the ^ equation with URL conversions, which causes the special characters to be encoded (very similar to what you're asking for in a special ConvertChars).Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Webcat 3 Bug?!?! Netscape + Protect + Posted Form (1998) How To question on setting up downloads (1997) Multiple Pulldowns (1997) lineitems context in sendmail context (1998) Check if file exists (2000) WebCatalog on Solaris? (2000) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) Shipping Help! (1998) WebCat2 Append problem (B14Macacgi) (1997) SSL/Document Contains NO Data (1998) Highlighting words found in a keyword search (2003) Country & Ship-to address & other fields ? (1997) Frames and WebCat (1997) Date search bug (1997) show all problem (1997) WCS Newbie question (1997) Setting up the server (1997) encrypted database (2004) Running 2 two WebCatalog.acgi's (1996) Classifieds (2000)