php
function unhtml($content){
$content=str_replace("&","&",$content);
$content=str_replace(" $content=str_replace(">",">",$content);
$content=str_replace(" "," ",$content);
$content=str_replace(chr(13),"
", $content);
$content=str_replace("","\",$content);
$content=str_replace(chr(34),""",$content);
<code> return $content; }</code>
?>
🎜🎜?>🎜 🎜 🎜 🎜 🎜回覆內容:🎜 🎜字串替換,過濾html代碼🎜