#27 User Login | Student management system in PHP | OOP MVC | Quick programming tutorial

preview_player
Показать описание
in this series, we create a student management system from scratch using PHP in object oriented format and model view controller system.

images used:

source code:

complete playlist:

PHP Object Oriented Programming basics:

more tutorials:
make a social website from scratch:

all crash courses:

code a live chat app in PHP and JavaScript:

make an eCommerce website from template:

convert an HTML template to PHP website:

simple signup and login system & security:

crop images with PHP:

Chart or graph using SVG:

Responsive web design:

clean pretty URLs:

support me on patreon:

my facebook:
Рекомендации по теме
Комментарии
Автор

You have done tremendously awesome job Sir really appreciate your effort put into these projects. Very helpful indeed. Could you do a project using chartjs to visualize database data on graphs with different users to access specific data on their own dashboards when login to the system? Would really appreciate it. Cheers and keep on keeping on doing your great work.

jonathanjamalkia
Автор

Buenas tardes estoy que sigo todos tus videos son muy buenos, en la base de datos si lo registra con correo y contraseña y los demás datos pero pero al iniciar sesión no lo reconoce y me sale error en el correo que puedo hacer??

wilsonmorisantana
Автор

Sir my login page is not working, not able to logged in please

shailendrasingh
Автор

What is the username and password to log in? And how do I login to register a new user? I appreciate your response

MrEliseovega
Автор

Good afternoon, I am following all your videos, they are very good, in the database if you register it with email and password and the other data, but when you log in it does not recognize it and I get an error in the email, what can I do?

wilsonmorisantana
Автор

Great work ❤️. But, am having issue in verifying my hashed password.

Please 🙏 reply cos have been on this for 2 weeks.

abdulquadri
Автор

Amazing, one more thing is duplicate email or user id, I made my email unique, and I want to have a custom user_id either.
could you please make a function to check duplicate email and user_id
appreciate

Saboor-Hamedi
Автор

Hello. I have been getting this error when i try to log in:

Warning: Attempt to read property "password" on array in on line 18

Deprecated: password_verify(): Passing null to parameter #2 ($hash) of type string is deprecated in on line 18

MY CODE IN FILE:

<?php

/**
* login controller
*/
class Login extends Controller
{
function index()
{
$errors = array();

if(count($_POST) > 0)
{
$user = new User();
if($row = $user->where('email', $_POST['email']))
{
$row = $row[0];
if(password_verify($_POST['password'], $row->password))
{
Auth::authenticate($row);
$this->redirect('/home');
}
}
$errors['email'] = 'Wrong email or password';
}

$this->view("auth/login", [
'errors' => $errors,
]);
}
}

umidjonqobiljonov
visit shbcf.ru