Re: xss filter
| From: | Manuel Lemos | Date: | Mon, 08 Sep 2008 14:27:54 +0000 |
| Subject: | Re: xss filter | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279659@lists.php.net to get a copy of this message | ||
Hello,
on 09/08/2008 09:16 AM Emil Edeholt said the following:
Hello, Do you know of any good ways to filter out javascript from html code? I've seen this code http://kallahar.com/smallprojects/php_xss_filter_function.php but I found some old discussions about it saying that it wasn't really secure. There most be some safe way to filter out xss without filtering out all html. Or...?Here you may find some classes for that: http://www.phpclasses.org/browse/class/78.html -- Regards, Manuel Lemos Find and post PHP jobs http://www.phpclasses.org/jobs/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/