Re: [PHP] user input in HTML

2002-03-01 Thread bvr
Use strip_tags() http://www.php.net/manual/en/function.strip-tags.php Erik Price wrote: > I was hoping to solicit an opinion: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] user input in HTML

2002-03-01 Thread Erik Price
I was hoping to solicit an opinion: There are some text areas where HTML-savvy users could choose to "embolden" their text or "emphasize" it by using HTML. But if I use htmlspecialchars() or htmlentities(), then this is not possible, even though it makes my site safer by eliminating any HTML-