Welcome Guest, Not a member yet? Register   Sign In
$this->input->xss_clean()
#7

[eluser]happydude[/eluser]
And you can clean up data after it gets sent in by setting the second argument of $this->input->post() to TRUE.

e.g. if ($this->form_validation->run()) {

$username = $this->input->post('username', TRUE);

}


Messages In This Thread
$this->input->xss_clean() - by El Forum - 07-01-2010, 02:31 AM
$this->input->xss_clean() - by El Forum - 07-01-2010, 07:38 AM
$this->input->xss_clean() - by El Forum - 07-11-2010, 11:52 PM
$this->input->xss_clean() - by El Forum - 07-12-2010, 12:28 AM
$this->input->xss_clean() - by El Forum - 07-12-2010, 12:42 AM
$this->input->xss_clean() - by El Forum - 07-12-2010, 01:56 AM
$this->input->xss_clean() - by El Forum - 07-12-2010, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB