开发者

what is db_clean in codeigniter?

开发者 https://www.devze.com 2023-01-16 21:35 出处:网络
What is the use of db_clean() with a simple ex开发者_开发技巧ample?Seems like db_clean() is a customized helper which is calling xss_clean().

What is the use of db_clean() with a simple ex开发者_开发技巧ample?


Seems like db_clean() is a customized helper which is calling xss_clean().

See this link, db_clean() is stored in MY_security_helper.php, whereby MY_ is the naming convention to extend native helper.

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.

Source: https://www.codeigniter.com/user_guide/helpers/security_helper.html

0

精彩评论

暂无评论...
验证码 换一张
取 消