2010-10-02 34 views

回答

1
strip_tags($string, "<b> <u> <i> <img> <a>"); 

这不会阻止某人使用onmouseover等,虽然 - 你必须去掉Javascript。