Welcome Guest, Not a member yet? Register   Sign In
Problem with Form Validation and Htaccess file
#12

[eluser]InsiteFX[/eluser]
Another thing to try
Code:
public function ProcessLogin() {
  
  $this->load->library('form_validation');
  $this->load->helper('form');
  $this->load->helper('url');
  $this->form_validation->set_rules('cid', 'a', 'trim|required|xxs_clean');
  $this->form_validation->set_rules('email', 'b', 'trim|required|valid_email|xxs_clean');
  $this->form_validation->set_rules('pass', 'c', 'trim|required|xxs_clean');
  
  //extract($_POST);
  
  if($this->form_validation->run()==False) {
   echo"false";
   $this->load->view('your_login_form');
  }
  else {
  echo"ok";
  var_dump($this->input->post(NULL, TRUE)); // returns all POST items with XSS filter
  exit;
  }
}


Messages In This Thread
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 05:00 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 11:00 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 03:12 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:02 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:15 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:20 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:37 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:40 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:26 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:33 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:40 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:46 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:48 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:50 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:53 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:55 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:57 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:58 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:59 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:02 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:03 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:25 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 07:21 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 08:01 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 08:25 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 01:27 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 04:15 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 06:16 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 06:43 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 12:52 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 02:07 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB