Input library for sanitizing

The Input library from CodeIgniter has been integrated to provide an easy and secure way to filter $_GET, $_POST, $_COOKIE and $_SERVER variables.

Examples: From controller, model or view, do
$this->input->get('var');
$this->input->post('var');
$this->input->cookie('var');
$this->input->server('var');