Codeigniter password_verify method
问题 I have this method in my Codeigniter (version 3.0) login module. It works fine but is this safe? Is any better solution to check login and password using PHP password_verify? (PHP 5.6, MySQL 5.0). $user = $this->input->post('username'); $password = $this->input->post('password'); $myquery = $this->db->query("SELECT * FROM users WHERE user = '$user'"); $row = $myquery->row(); if (isset($row)) { //Using hashed password - PASSWORD_BCRYPT method - from database $hash = $row->password; if