Anti Cross Site Scripting (XSS) Injection. A very powerful tool to counteract XSS Injection. It has been proven so far that it is still very reliable for dealing with XSS Injection problems. This tool is also very suitable for use in the Codeigniter Framework.
Just add antixss(...) function to any post or get variable.Example in Native PHP:
antixss($_GET['yourparameter']); antixss($_POST['variable']);
Example in Code Igniter:
$post = $this->input->post();
antixss($post['yourvariable']);