Welcome Guest, Not a member yet? Register   Sign In
unsetting $this->input->post() value
#3

[eluser]CroNiX[/eluser]
@Matalina That would only unset it in the new variable, $posts.

The only way to actually wipe out a post variable is on the actual global $_POST array, which is where CI gets the value from if you use input::post().

Code:
unset($_POST['text_password']);


Messages In This Thread
unsetting $this->input->post() value - by El Forum - 05-14-2012, 09:31 AM
unsetting $this->input->post() value - by El Forum - 05-14-2012, 10:43 AM
unsetting $this->input->post() value - by El Forum - 05-14-2012, 11:00 AM
unsetting $this->input->post() value - by El Forum - 05-14-2012, 11:06 AM
unsetting $this->input->post() value - by El Forum - 05-14-2012, 11:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB