note 72629 added to function.strip-tags

From: Date: Fri, 26 Jan 2007 18:56:07 +0000
Subject: note 72629 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-122241@lists.php.net to get a copy of this message
I already have an ok tag limit script in place to prevent java and styles from being used.. the problem i have is that i want to be able to limit the ammount of tags (img tags notably) to be shown in a "preview" string to be used on a blog. For instance on a blog preview post i want it to show only the first image that is typed and strip the rest of the img tags afterwards. anyone have any ideas? please email me. thank you. psyberdemon @at@ msn .dot. com ---- Server IP: 64.71.164.2 Probable Submitter: 208.0.28.1 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/72629 Del: integrated -- https://master.php.net/note/delete/72629/integrated Del: useless -- https://master.php.net/note/delete/72629/useless Del: bad code -- https://master.php.net/note/delete/72629/bad+code Del: spam -- https://master.php.net/note/delete/72629/spam Del: non-english -- https://master.php.net/note/delete/72629/non-english Del: in docs -- https://master.php.net/note/delete/72629/in+docs Del: other reasons-- https://master.php.net/note/delete/72629 Reject -- https://master.php.net/note/reject/72629 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#122241) next »