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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to