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:
Webcatalog server support (1997)
[append] vs. [appendfile] delta + question? (1997)
What is WebDNA (1997)
WebDNA with WebStar V (2003)
Can you 'swap' 2 items in the same field? (2001)
All questions are welcome on this list (1997)
Same DB Same Time (2004)
Spiders (2000)
[WebDNA] Is [math] on a number with too many digits the only way that I can get scientific notation out of webdna? (2011)
Database Options (1997)
Some Advise needed (1997)
WebCatalog for Postcards ? (1997)
WebCatalog can't find database (1997)
I'm new be kind (1997)
Looping control (1997)
Group search doesn't work. (1997)
E-Mailer (WebCatb15acgiMac) (1997)
WebCat2 Append problem (B14Macacgi) (1997)
Searchable WebCat (etc.) Docs ? (1997)
HomePage Caution (1997)