HTML Sanitizer 1.0
Developed by Frédéric Minne, listed in HTML
HTML Sanitizer takes a string with HTML code and strips all the tags that do not make part of a list of safe tags. That list of safe tags is defined as a private class variable. There are some functions to allow usually unsafe tags like script, style, object, embed, etc..
Unsafe tag attributes, such as JavaScript ones for event handling, can also be stripped. The links href attributes also gets special treatment to remove URLs that trigger JavaScript code execution and line breaks.
Requirements:
PHP 4 or higher
License type: GPL - GNU General Public License
Date added: 4 years, 8 months 29 days ago | Last updated: 4 years, 8 months 29 days ago
More popular HTML
- Mysql Ajax Table Editor 2.2 (2 years, 6 months 7 days ago)
- Form Tools 2.2.5 (17 days ago)
- PHP Form Builder Class 3.1 (6 months 14 days ago)
- Ajax Table Edit 1.0 (7 years, 1 month 3 days ago)
- PHPagination 1.0 (2 years, 7 months 14 days ago)
This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin
Listing Files

sanitizer.class.php- 11.6 KB
- 09/24/2008 07:46:16

sample.php- 1.2 KB
- 09/24/2008 07:46:16

COPYING- 17.5 KB
- 09/24/2008 07:46:16
Hot Scripts
Sponsors
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
