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.2RH 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:
webcat 4.0.2RH 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:
WebCat2.0b15-to many nested [xx] tags (1997)
Help-.html extention and Serial Number not working. (2000)
orderfile headers (was: 2nd Request for (2000)
[WebDNA] [Delete] doesn delete all... (2009)
Emailer Error 550 (Was Strange Crash) (1998)
WCS Newbie question (1997)
Separate SSL Server (1997)
Emailer setup (1997)
find with exceptions (1997)
[shell] oddity (2002)
can I get formvariables for an include? (1999)
Nested tags count question (1997)
Re(8): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
What the *(**&^* webcat/mer (1998)
Multiple prices (1997)
Alternating colors (1997)
tpl pages in dreamweaver (2000)
[WebDNA] WebDNA on LiveCD ... (2008)
Handy Browser Counter Tip (1997)
WebDNA 5.1 and Mac OS X Server v10.3 - Working ??? (2003)