note 50831 added to function.htmlentities

From: Date: Fri, 11 Mar 2005 00:14:29 +0000
Subject: note 50831 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-86231@lists.php.net to get a copy of this message
The pattern also doesn't match a situation where you have an array in a form 'input' tag: <input name="foo[bar]" value="meh" /> It works if you add [ and ]. Obviously you have to escape the closing bracket. <? $pattern = '<([a-zA-Z0-9\. "\'_\/\-=;:\(\)?&#%![\]]+)>'; ?> |3 |_| >< * ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50831 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50831&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50831&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50831&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50831&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50831&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50831&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86231) next »