Re: Check for unsafe HTML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd wrote:
> At 4:12 PM +0200 8/30/06, 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?
>>
>> Boban.
> 
> 
> Try strip_tags().

<yodism>do, not try.</yodism>

> 
> http://us3.php.net/strip_tags
> 
> tedd

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux