This post originated from an RSS feed registered with PHP Buzz
by Douglas Clifton.
Original Post: SafeHTML
Feed Title: drx: PHP
Feed URL: http://www.loadaveragezero.com/drx/rss/Programming/Languages/PHP/
Feed Description: My site was designed and coded from the ground up in 100% MySQL and PHP. Okay, and a few other tools. I take great pride in adding high quality PHP resources to this category. Like this one.
If you're planning on rolling your own commenting system that accepts markup from a form, then you had best be careful about XSS and similar security issues. SafeHTML is a parser that will strip all potentially dangerous content from any untrusted source.