note 23329 deleted from function.strip-tags by philip
| From: | philip@php.net | Date: | Tue, 07 Jan 2003 00:19:38 +0000 |
| Subject: | note 23329 deleted from function.strip-tags by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41768@lists.php.net to get a copy of this message | ||
This is more of a question, but yeah..
in a forum type environment, would it not be much simpler to do this:
$text = str_replace("<", "<", $text);
$text = str_replace(">", ">", $text);
this seems much simpler to me, as many people oblivious to the existance of HTML may try to use <
and > in their posts... any suggestions?