note 85562 added to function.strip-tags

From: Date: Sat, 06 Sep 2008 04:06:16 +0000
Subject: note 85562 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-144177@lists.php.net to get a copy of this message
To the person below me, that's not correct. strip_tags will in fact remove the anchor tags. If you supply the second parameter and have "<a>" in it, then yes, the anchor tags won't be removed, but by default, all HTML tags are removed. ---- Server IP: 209.41.74.194 Probable Submitter: 96.234.164.136 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/85562 Del: integrated -- https://master.php.net/note/delete/85562/integrated Del: useless -- https://master.php.net/note/delete/85562/useless Del: bad code -- https://master.php.net/note/delete/85562/bad+code Del: spam -- https://master.php.net/note/delete/85562/spam Del: non-english -- https://master.php.net/note/delete/85562/non-english Del: in docs -- https://master.php.net/note/delete/85562/in+docs Del: other reasons-- https://master.php.net/note/delete/85562 Reject -- https://master.php.net/note/reject/85562 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144177) next »