want to ask input->post behaviour a little - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: want to ask input->post behaviour a little (/showthread.php?tid=40830) |
want to ask input->post behaviour a little - El Forum - 04-19-2011 [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-guide/libraries/form_validation.html#preppingdata 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. want to ask input->post behaviour a little - El Forum - 04-20-2011 [eluser]toopay[/eluser] if you already set rule for that, then it would be not necessary to filtering it again. want to ask input->post behaviour a little - El Forum - 04-20-2011 [eluser]sukuiter[/eluser] Thanks toopay :lol: |