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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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)