Login   Register  
PHP Classes
elePHPant
Icontem

htmLawed: Filter HTML for security and standards

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Documentation   Demos   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-02 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 592 This week: 2All time: 4,793 This week: 666Up
Version Licenses PHP version Categories  
htmlawed 1.1.18GNU General Public Lice...5.0HTML, Security
Description Author  

This package can be used to filter or purify HTML to prevent security attacks and for compliance with standards and admin. policies.

It can parse HTML documents and rewrite it to filter tags and data that could be used to perform cross-site scripting (XSS) attacks.

The filtered tags and data can be controlled by black and white lists that define which tags, attributes and URL protocols that can be included or should be excluded.

The rewritten HTML can be made XHTML compliant.

Picture of Santosh Patnaik
Name: Santosh Patnaik <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2748348 in United States United States
Week rank: 631 Up67 in United States United States Up

  htmLawed test pageExternal page  
Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file htmLawed.php Class htmLawed class; version 1.1.18
Accessible without login Plain text file htmLawed_README.txt Doc. Readme file in plain text
Accessible without login HTML file htmLawed_README.htm Doc. Readme file in HTML
Accessible without login Plain text file htmLawedTest.php Example Script for testing
Accessible without login Plain text file htmLawedTest_non_OOP.php Example Script for testing non-OOP version
Accessible without login Plain text file htmLawed_non_OOP.php Aux. Non-OOP htmLawed; version 1.1.18
Accessible without login Plain text file htmLawed_TESTCASE.txt Data Test cases

 Version Control Unique User Downloads Download Rankings  
 0%Total:592All time:4,793
 This week:2This week:666Up