BubbleTok - The Ultimate Tiktok Clone app - Short Videos Social Media Android App

BubbleTok - The Ultimate Tiktok Clone app - Short Videos Social Media Android App v1.0

No permission to download

Zippybox

Member
Jul 11, 2020
49
5
8
public function jadminlogin($username,$password)
{
$this->db->select('*');
$this->db->from('tbl_admin');
// $this->db->where('admin_email',$username);
$this->db->where('admin_name',$username);
$this->db->where('admin_password',$password);
$query = $this->db->get();
$row_count = $query->num_rows();
$row_array = $query->row_array();

if($row_count > 0)
{
$this->session->set_userdata('is_admin_login',true);
$this->session->set_userdata('admin_id',$row_array['admin_id']);
$this->session->set_userdata('admin_name',$row_array['admin_name']);
$this->session->set_userdata('admin_email',$row_array['admin_email']);
$this->session->set_userdata('admin_password',$row_array['admin_password']);
$this->session->set_userdata('admin_profile',$row_array['admin_profile']);
$this->session->set_userdata('is_twofa',$row_array['is_twofa']);


________
no tbl_admin table in database bro.

and after seeing code and fos_user_table (your database) , he is using bcrypt.
If I change the table name in php will it work?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu