note 47413 deleted from function.strip-tags by tularis
| From: | tularis@php.net | Date: | Mon, 15 Nov 2004 23:08:41 +0000 |
| Subject: | note 47413 deleted from function.strip-tags by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80564@lists.php.net to get a copy of this message | ||
Note Submitter: dj dot kogz[removethis] at gmail dot com
----
This is what I use to make my things safe from that kind of exploit...
$html = "<ta<tableble>";
$html = strip_tags($html);
$html = str_replace("<", "<", $html);
$html = str_replace(">", ">", $html);
cheers. :)
----
Reason: useless example