开发者

what is db_clean in codeigniter?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜