Re: Check for unsafe HTML
| From: | Jochem Maas | Date: | Wed, 30 Aug 2006 14:45:20 +0000 |
| Subject: | Re: Check for unsafe HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241235@lists.php.net to get a copy of this message | ||
Bogdan Ribic wrote:
> Hi all,
>
> I need to check html that is entered by user for unsafe content (ie
> javascript, vbscript, onmouseover etc) and still keep "safe" tags. Is
> there any easy way for that?
PRTFM: http://php.net/striptags
>
> Boban.
we have a 'Matt' that's actually a 'Dave' (or is it the other way around),
now we have a 'Bogdan' who is propably a 'Boban'.
Im sure there are other examples.
Seems we attract multiple personality disorder cases around here.
>