IMHO, the obvious choice (for PHP) should be HTML Purifier by Edward Yang. Link: http://htmlpurifier.org/ --Bipin Upadhyay. On Mon, Sep 8, 2008 at 5:46 PM, Emil Edeholt <emil@xxxxxxxxxxxx> wrote: > 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...? > > Kind Regards Emil > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- I'd love to change the world, but they won't gimme the source code. http://projectbee.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php