I'm wondering if anybody has used this class and found it to be reliable?
http://www.phpclasses.org/package/3746-PHP-Remove-unsafe-tags-and-attributes-from-HTML-code.html
Many thanks!
i recommend http://htmlpurifier.org/ HTML Purifier for cleaning strings safely.
1.4m articles
1.4m replys
5 comments
57.0k users