i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format |
[eluser]jzmwebdevelopement[/eluser]
[quote author="anthar" date="1311511809"]i want my password to be md5 using the codes posted below, after execution i checked db content and its not in md5 format, is there something i missed? tnx $this->form_validation->set_rules('password', 'Password', 'trim|required|matches[passconf]|md5'); $this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email'); $this->db->query("INSERT INTO users (email, password) VALUES ('".$this->input->post('email')."', '".$this->input->post('password')."')");[/quote] Yes: Have a read here: http://ellislab.com/codeigniter/user-gui...elper.html |
Messages In This Thread |
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format - by El Forum - 07-24-2011, 01:50 AM
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format - by El Forum - 07-24-2011, 02:33 AM
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format - by El Forum - 07-24-2011, 02:41 AM
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format - by El Forum - 07-24-2011, 11:04 AM
|