$this->input->xss_clean(); In codeigniter 2.0, you will need to modify $this->input->xss_clean() to $this->secuirty->xss_clean(). Otherwise, it won’t work. Of course, don’t forget to load ‘security’ library before you use the function. extends Controller or extends Model You will need to change class Test extends Controller to class Test extends CI_Controller And class Test extends Model to class…
Day: April 27, 2011
Cross Site Request Forgery (CSRF)
http://en.wikipedia.org/wiki/Cross-site_request_forgery Click to access Using_XSS_to_bypass_CSRF_protection.pdf