thinkphp3.2 data processing
世界只因有你
世界只因有你 2017-05-27 17:43:08
0
2
568

In the development mode of thinkphp3.2, is there any way to verify sensitive words in the data entered by the user? Please give me some advice! !

世界只因有你
世界只因有你

reply all(2)
刘奇

Composer has a third-party package that responds to Minggan word filtering. Import the lib, and then import. Of course, you can consider letting thinkphp adapt to the composer specification, and it can be loaded automatically

Peter_Zhu

There is a think_filter method in function.php of tp. The directory can filter the sql keywords entered by the user. Of course, you can also add your own filtering rules in it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!