-
Power HTML Cleaner can take a list of names of tags to keep as parameters. Then it replaces the allowed tags by pseudo-tags.The remaining tags are removed and the original tags are restored in the final pass. A class variable is used to store the resulting HTML document, which can also be saved to a file.
-
Form Data Cleaner can be used to sanitise GET and POST values based on expected data type rules. It takes a list of GET and POST request parameters that it should analyse and the respective data types that it expects. Currently Form Data Cleaner supports the types: integer, double, string, boolean and array.String values may be escaped for use in ...
-
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, ...
-
Clean Output can be used to reformat HTML or XML documents. It can read a string with HTML or XML and indent its lines according to the depth of the tags and data. Optional it can show in the outputted document a trace of the indentation level. Requirements: PHP 5.0

