首頁  >  文章  >  後端開發  >  php-系統包含的常用函數具體有什麼用哪位大神能幫忙解釋一下嗎?

php-系統包含的常用函數具體有什麼用哪位大神能幫忙解釋一下嗎?

WBOY
WBOY原創
2016-11-30 23:59:521125瀏覽

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>

?>

rrreee

?>

🎜🎜?>🎜 🎜 🎜 🎜 🎜回覆內容:🎜 🎜字串替換,過濾html代碼🎜
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn