Welcome Guest, Not a member yet? Register   Sign In
pass input->post to model
#6

[eluser]Colin Williams[/eluser]
Code:
$this->input->xss_clean($_POST);

This is fine. I typically just throw $_POST at my model functions when dealing with user input. $_POST is not always evil. Just sanitize it. You can also use global XSS filtering or use the shorthand xss_clean() function.


Messages In This Thread
pass input->post to model - by El Forum - 06-03-2009, 01:20 PM
pass input->post to model - by El Forum - 06-03-2009, 01:35 PM
pass input->post to model - by El Forum - 06-03-2009, 01:40 PM
pass input->post to model - by El Forum - 06-03-2009, 02:02 PM
pass input->post to model - by El Forum - 06-03-2009, 04:38 PM
pass input->post to model - by El Forum - 06-03-2009, 05:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB