note 26094 added to function.strip-tags
| From: | rockylou at icubed dot com | Date: | Thu, 17 Oct 2002 20:23:13 +0000 |
| Subject: | note 26094 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38219@lists.php.net to get a copy of this message | ||
The easiest way to get rid of all tags is to use htmlspecialchars();
Then if you want to allow anything, use ereg_replace();
--
http://www.php.net/manual/en/function.strip-tags.php
http://master.php.net/manage/user-notes.php?action=edit+26094
http://master.php.net/manage/user-notes.php?action=delete+26094
http://master.php.net/manage/user-notes.php?action=reject+26094