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:
' add to cart ' or ' sku ' problem (1998)
Excluding orders from WebMerchant processing (1998)
[authenticate] (1999)
Moment of Thanks (1997)
Its not that weird. (1997)
WebCat2 beta 11 - new prefs ... (1997)
Problem displaying search result (1997)
Showif, Hideif reverse logic ? (1997)
Bug or syntax error on my part? (1997)
2.0 Info (1997)
Using the sendmail command on CGate Pro (Unix) (2000)
[Webcat 2]Next (1997)
Shopping Cart Problem (1998)
WebDelivery downloads alias, not original ? (1997)
RE: [WebDNA] WebDNA on W2k3 (2009)
flushdatabases (1997)
Getting Started (2003)
WebCat2.0 acgi vs plugin (1997)
Running 2 two WebCatalog.acgi's (1996)
Sending an email to all )or some) email addresses int he database (1999)