Re: Check for unsafe HTML
| From: | tedd | Date: | Wed, 30 Aug 2006 14:21:47 +0000 |
| Subject: | Re: Check for unsafe HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241234@lists.php.net to get a copy of this message | ||
At 4:12 PM +0200 8/30/06, Bogdan Ribic wrote:
Hi all, I need to check html that is entered by user for unsafe content (ie javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is there any easy way for that? Boban.Try strip_tags(). http://us3.php.net/strip_tags tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com