Welcome Guest, Not a member yet? Register   Sign In
how to fix this error?
#5

[eluser]chmod[/eluser]
I am sure the problem in these codes:
Code:
$this->form_validation->set_rules('sig_key', 'lang:sig_key', 'trim|xss_clean|required|callback_checkSigKey');

my callback function:
Code:
function checkSigKey(){
         if ($this->session->userdata('sig_key') !== $this->input->post('sig_key')){
             $this->form_validation->set_message('checkSigKey', $this->lang->line('sig_key_invalid'));
             return false;
         }else{
             return true;
         }
     }
I can not find any errors.

some one help me?


Messages In This Thread
how to fix this error? - by El Forum - 07-06-2009, 04:08 AM
how to fix this error? - by El Forum - 07-06-2009, 04:28 AM
how to fix this error? - by El Forum - 07-06-2009, 06:32 AM
how to fix this error? - by El Forum - 07-06-2009, 07:12 AM
how to fix this error? - by El Forum - 07-06-2009, 07:35 AM
how to fix this error? - by El Forum - 07-06-2009, 07:50 AM
how to fix this error? - by El Forum - 07-06-2009, 08:27 AM
how to fix this error? - by El Forum - 07-06-2009, 08:49 AM
how to fix this error? - by El Forum - 07-06-2009, 09:03 PM
how to fix this error? - by El Forum - 07-07-2009, 06:55 AM
how to fix this error? - by El Forum - 07-07-2009, 08:38 AM
how to fix this error? - by El Forum - 07-07-2009, 10:28 AM
how to fix this error? - by El Forum - 07-07-2009, 09:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB