Welcome Guest, Not a member yet? Register   Sign In
want to ask input->post behaviour a little
#1

[eluser]sukuiter[/eluser]
Hi, I just want to ask about $this->input->post() a little. I read user guide about prepping data but I don't quite understand about it.
http://ellislab.com/codeigniter/user-gui...eppingdata

If I already set xss_clean in the form validation rules, do I still need to use $this->input->post(var, TRUE) ?

Have the post data already xss filtered if all of the validation rules passed?

Thanks.
#2

[eluser]toopay[/eluser]
if you already set rule for that, then it would be not necessary to filtering it again.
#3

[eluser]sukuiter[/eluser]
Thanks toopay :lol:




Theme © iAndrew 2016 - Forum software by © MyBB