标签: php html
function block_html($string) { $find = '/\<(.*?)\>/'; $replace = ''; return preg_replace($find,$replace,$str); }
谢谢