how to allow only *some* html in a db field

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45690
interpreted = N
texte = webcat 4.0.2 RH linux 7.2Hi all,I have a site where users can post messages that are publically viewable. Using the default [convertchars] any html they may happen to enter is simply displayed as text (which is the way I prefer it).e.g. [ConvertChars][ConvertWords db=/dbs/icons.db][content][/ConvertWords] [/ConvertChars]However, I want to do something with [ConvertWords] on those same fields which should allow the html to be interpreted. So how do I let my cases of html be allowed, yet user entered html be disallowed?For my html, it will basically be some http:// links and images.Thanks for any suggestions.Dale ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: how to allow only *some* html in a db field (dale's stuff 2002)
  2. Re: how to allow only *some* html in a db field (Brian Fries 2002)
  3. how to allow only *some* html in a db field (dale's stuff 2002)
webcat 4.0.2 RH linux 7.2Hi all,I have a site where users can post messages that are publically viewable. Using the default [convertchars] any html they may happen to enter is simply displayed as text (which is the way I prefer it).e.g. [convertchars][ConvertWords db=/dbs/icons.db][content][/ConvertWords] [/ConvertChars]However, I want to do something with [convertwords] on those same fields which should allow the html to be interpreted. So how do I let my cases of html be allowed, yet user entered html be disallowed?For my html, it will basically be some http:// links and images.Thanks for any suggestions.Dale ------------------------------------------------------------- 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://webdna.smithmicro.com/ dale's stuff

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:

Artwork (1997) WebCat2b12 - nesting [tags] (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) WCS Newbie question (1997) Multiple catalog databases and showcart (1997) WebCat2 - Getting to the browser's username/password data (1997) CT Scan might have saved my life!! (2006) limitation found on group searching (1997) WebCat2b12 - New features for 1.6 users ... (1997) Out of the woodwork (2007) multipart part 2 (2004) formatting dates from a field ... (1997) Include vs. lookup? (1998) %@#*& back button!!! (1999) Use of Back and Reload Buttons on ShoppingCart page? (1997) [input] [/input] (1997) WebCat2 Append problem (B14Macacgi) (1997) a little help w/ this .debug error (2000) counting characters and/or words (1997) [WebDNA] Ubuntu 10.4 & WebDNA 6.2 (2011)