2010-09-16 67 views

回答

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. 

來源:http://ellislab.com/codeigniter/user_guide/helpers/security_helper.html

+0

因此,有人創建了自己的助手,我們必須給的例子如何使用?你對一個奇怪的問題給出了很好的答案...... – Mischa 2010-09-16 08:14:58

相關問題