php-系统包含的常用函数具体有什么用哪位大神能帮帮忙解释一下吗?
程序员文章站
2022-04-18 17:38:45
...
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);
return $content; }
?>
回复内容:
字符串替换,过滤html代码