大家知道php過濾html標簽嗎?下面我們就給大家詳細介紹一下吧!我們積累了一些經驗,在此拿出來與大家分享下,請大家互相指正。
$str = preg_replace( "@
$str = preg_replace( "@
$str = preg_replace( "@
$str = preg_replace( "@<(.*?)>@is", "", $str );
?>
相信大家已經學會php過濾html標簽了吧!感謝大家對我們網站的支持!
相關推薦:
怎麼把js過濾html標簽