Hi,
I'm wondering if anybody has used this class and found it to be reliable?
http://www.phpclasses.org/package/3746-PHP-Remove-unsafe-tags-and-attributes-from-HTML-code.html
Many thanks!
Hi,
I'm wondering if anybody has used this class and found it to be reliable?
http://www.phpclasses.org/package/3746-PHP-Remove-unsafe-tags-and-attributes-from-HTML-code.html
Many thanks!
i recommend http://htmlpurifier.org/ HTML Purifier for cleaning strings safely.
I'm wondering if anybody has used this class and found it to be reliable?
erm....
1) phpclasses invites feedback from users - if there's no feedback there, why do you think you'd find it here?
2) its a fairly generic bit of code - the value is in how you apply it, you don't state what your objectives are nor what you've compared it with,
3) certainly the code looks to be competently written and allows a much finer level of control than striptags() but as in 2 we can't say what value that is to you without any information about what you are trying to achieve.
C.