Welcome Guest, Not a member yet? Register   Sign In
Best way of safely outputting user submitted content
#4

[eluser]InsiteFX[/eluser]
Never, never, never trust user input!
Just use CI's input->post and xss_clean see the TRUE
Code:
$input  = $this->input->post('post', TRUE);
$output = $this->input->post('comment', TRUE);

CodeIgniter User Guide - Security Class

CodeIgniter User Guide - Input Class


Messages In This Thread
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 03:05 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 03:22 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 05:42 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 06:27 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 06:28 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 10:36 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 10:45 PM
Best way of safely outputting user submitted content - by El Forum - 02-06-2012, 10:48 PM
Best way of safely outputting user submitted content - by El Forum - 02-07-2012, 04:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB