note 24361 added to function.strip-tags

From: Date: Wed, 14 Aug 2002 09:23:38 +0000
Subject: note 24361 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-34989@lists.php.net to get a copy of this message
My Problem: if someone writes a half tag for example &#60 here ist text and he forgets to complete the tag, the strip tag takes all the text of the form and it will be deleted. but what i am searching for is that only tags that are not allowed (all the html tags) were deletet but only the tags not the text and content that is placed between the tags. can someone helf me? Lukas -- http://www.php.net/manual/en/function.strip-tags.php http://master.php.net/manage/user-notes.php?action=edit+24361 http://master.php.net/manage/user-notes.php?action=delete+24361 http://master.php.net/manage/user-notes.php?action=reject+24361

« previous php.notes (#34989) next »