#28 PHP Ecommerce website development | Limiting Admin access | MVC OOP - Quick programming

preview_player
Показать описание
Learn how to code your own ecommerce website in PHP. This tutorial series will also include the admin area, login and signup pages. the payment system integration may not be included

Your Support will be most appreciated on patreon:

Templates url:

Templates Zip:

Entire playlist:

#PHP #Ecommerce #OOP #MVC
Рекомендации по теме
Комментарии
Автор

Quick question, on 5:41 you are loading the User class, then checking if user is logging is that mean it need to load it for every controller individually?

Wohaho
Автор

I just added this code in admin controle,
But I am not sure if this is good or not
if($user_data->rank === 'admin'){
$this->view("admin/index", $data);
}else{
$this->view("home", $data);
}

mahmoudhussien
welcome to shbcf.ru