db_clean()的用法有一个简单的例子吗?
答案 0 :(得分:6)
似乎db_clean()
是一个定制的助手,正在调用xss_clean().
请参阅此link, db_clean()
存储在MY_security_helper.php中,其中MY_是扩展本机帮助程序的命名约定。
xss_clean() Provides Cross Site Script Hack filtering. This function is an alias to the one in the Input class. More info can be found there.
来源:https://www.codeigniter.com/user_guide/helpers/security_helper.html