note 49620 added to function.strip-tags
| From: | jon780-at-gmail dot com at osu1 dot php dot net | Date: | Thu, 03 Feb 2005 05:18:08 +0000 |
| Subject: | note 49620 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84410@lists.php.net to get a copy of this message | ||
To eric at direnetworks dot com regarding the 1024 character limit:
You could simply ltrim() the first 1024 characters, run them through strip_tags(), add them to a new
string, and remove them from the first.
Perform this in a loop which continued until the original string was of 0 length.
----
Manual Page -- http://www.php.net/manual/en/function.strip-tags.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49620
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49620&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49620&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49620&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49620&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49620&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49620&report=yes
Search -- http://master.php.net/manage/user-notes.php