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

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14190
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).This seems to work (but I still want extended ConvertChars :-)). Thanks! ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se 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).This seems to work (but I still want extended ConvertChars :-)). Thanks! ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

URGENT: NO BUG, woFIELDdata & FIELDword=ww (2002) Replto in [SendMail] (2000) The [shownext] limitations (2002) [ShowIf] and empty fields (1997) [TaxableTotal] - not working with AOL and IE (1997) all db's in one folder and protected (1998) SKU number. (2000) Not really WebCat (1997) [ShowNext] feature in 2.0 (1997) Multi-processor Mac info ... (1997) Add all products to cart at once? (1997) Bug in WebCat, (2000) [WebDNA] PCI Vulnerability testing (2009) WebCat2b13MacPlugIn - More limits on [include] (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Nested tags count question (1997) The IBC root beer has arrived! (1997) Upgrade to MacOS9 and W*4.1 (1999) Problems appending to database (1997) [WebDNA] Competitors! (2008)