note 24826 added to function.htmlentities

From: Date: Thu, 29 Aug 2002 13:43:39 +0000
Subject: note 24826 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-35980@lists.php.net to get a copy of this message
I'am wondering if it is possible to allow some tags not to be translated. Just like with strip_tags(), there you can give a optionale argument to allow some tags not to be stripped.<BR><BR>The problem i'am having is that i want to protect my forum against </HTML> ao tags. but I do not want to remove them. On the other hand i want <B> tages to be parsed by the browser so text can become BOLD. See my problem, I hope someone has an answer for me. tnx -- http://www.php.net/manual/en/function.htmlentities.php http://master.php.net/manage/user-notes.php?action=edit+24826 http://master.php.net/manage/user-notes.php?action=delete+24826 http://master.php.net/manage/user-notes.php?action=reject+24826

« previous php.notes (#35980) next »