时间:2021-07-01 10:21:17 帮助过:30人阅读
function get_title($html)
{
$html=strtolower($html);
$title = str_replace(" - ",",",cut($html,"", " " ));
//if ($title == "") $title = "无标题";
if ($title) $title=replace_word(textcut($title,80));
if ($title) $title=preg_replace("/<(.*?)>/","",$title);
return addslashes(trim($title));
}