note 50831 deleted from function.htmlentities by mazzanet
| From: | mazzanet@php.net | Date: | Mon, 03 Oct 2005 08:49:08 +0000 |
| Subject: | note 50831 deleted from function.htmlentities by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96240@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster AT scholesmafia DOT co DOT uk
----
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 |_| >< *