1.使用htmlentities:
htmlentities($str, ENT_QUOTES,"UTF-8");
2.过滤特殊字符
preg_replace("/\"|'|\(|\)|<|>|CONTENT-TRANSFER-ENCODING/i"," ",$str);
htmlentities($str, ENT_QUOTES,"UTF-8");
2.过滤特殊字符
preg_replace("/\"|'|\(|\)|<|>|CONTENT-TRANSFER-ENCODING/i"," ",$str);
3291

被折叠的 条评论
为什么被折叠?



