PHP Classes

As always another top quality class from well known PHP guru!...

Recommend this page to a friend!

      Secure HTML parser and filter  >  All threads  >  As always another top quality class...  >  (Un) Subscribe thread alerts  
Subject:As always another top quality class...
Summary:Package rating comment
Messages:2
Author:max costa
Date:2009-09-02 09:50:56
Update:2009-09-02 21:50:01
 

max costa rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Sufficient
Examples: Sufficient
Unit tests: Sufficient

  1. As always another top quality class...   Reply   Report abuse  
Picture of max costa max costa - 2009-09-02 09:50:56
As always another top quality class from well known PHP guru!
This class is very useful, but I had some difficulty to play with it, maybe because I cannot understand exact how it works?!
For example, what are the folders generated and expect in test folder?
One of the tests is looking for a missing file called attacks.php.
If there's a way to get an easy example or a getting start documentation...

  2. Re: As always another top quality class...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-09-02 21:50:01 - In reply to message 1 from max costa
The files in the test directory are just for quality control. They are used to verify whether the classes are working as expected after each new revision. They are not useful for real applications.

To filter unsafe HTML, take a look at the test_safe_html_filter.php example script. There is also documentation for these classes in the documentation directory.

Just let me know if you still have difficulties.