",$content); $content=str_replace(" "," ",$content); $content=str">
当前位置:Gxlcms > PHP教程 > php-系统包含的常用函数具体有什么用哪位大神能帮帮忙解释一下吗?

php-系统包含的常用函数具体有什么用哪位大神能帮帮忙解释一下吗?

时间:2021-07-01 10:21:17 帮助过:15人阅读

php

function unhtml($content){
$content=str_replace("&","&",$content);
$content=str_replace("<","<",$content);
$content=str_replace(">",">",$content);
$content=str_replace(" "," ",$content);
$content=str_replace(chr(13),"
",$content);
$content=str_replace("\","\\",$content);
$content=str_replace(chr(34),""",$content);

         return $content;        }

?>

回复内容:

字符串替换,过滤html代码

人气教程排行