Home > Backend Development > PHP Tutorial > 敏感语汇过滤

敏感语汇过滤

WBOY
Release: 2016-06-13 12:31:35
Original
1038 people have browsed it

敏感词汇过滤
假如用户输入了 

$str="输入内容123";
Copy after login

下了个abc.txt,内容为,大概一千条
坏蛋|1<br />
火枪|1<br />
超级大坏蛋|1<br />
....
Copy after login


如何用这个txt文件检查过滤$str1;要效率,求支招

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template