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.
2.1m questions
2.1m answers
60 comments
57.0k users