PHP HTML sanitizer
问题 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! 回答1: i recommend http://htmlpurifier.org/ HTML Purifier for cleaning strings safely. 回答2: I'm wondering if anybody has used this class and found it to be reliable? erm.... 1) phpclasses invites feedback from users - if there's no feedback there, why do you think you'd find it here? 2) its a fairly generic bit of