PHP Labware internal utilities / home | May 13, 2008
Download
86 kb zip file
version 1.0.7, 1 May 08
source code
Documentation
readme
Discuss
forum
htmLawed
PHP script to filter & purify HTML code


• makes HTML code in text more secure and standard-compliant
• processed text can be used in HTML 4, or XHTML 1 or 1.1 documents
• restricts HTML by filtering unallowed HTML elements, attributes, protocols, etc.
• performs other tasks like transforming deprecated tags and converting relative to absolute URLs
• highly customizable
• single file of ~45 kb
• used to filter & sanitize HTML code submitted in blog comments, forum posts, etc.; generate XML-compatible feed items from web-page excerpts; make old HTML code XHTML-compliant, and so on

more...
PHP Labware home | visitors since May 2006
HTML purify HTML purification HTM purify. anti XSS input filter. HTML standards compliance. PHP filter script. PHP filter library. HTMLPurifier comparison HTML purifier. Filter tags attributes elements XHTML spec specs standards