Welcome Guest, Not a member yet? Register   Sign In
Is there a fix for the CSRF "The action you have requested is not allowed" issue?
#6

[eluser]sandeep49[/eluser]
If we have form fields in array :
For ex.: <input name='employee_name[]' />
Now I want to validate this field by form validation:
$this->form_validation->set_rules('employee_name[]', 'Employee Name', 'trim|required|xss_clean');

This code will not work:

$CI =& get_instance();
if ( ! isset($CI->security))


After replacing with this code...


$CI =& get_instance();
if (isset($CI->security))


Now everything is working fine....:lol:


Messages In This Thread
Is there a fix for the CSRF "The action you have requested is not allowed" issue? - by El Forum - 10-09-2013, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB