How To Control User Access in a PHP Application

preview_player
Показать описание
In this video we review code that allows us to restrict unauthorized users from accessing specific pages on your website.

Full Course
___________________________________________________________________

I am a Software Engineer and Instructor. I can provide professional development services or private code coaching sessions to help you to accomplish your profesisonal or personal IT goals.

Check out my content on Social Media

Check out some free courses below:
Microsoft SQL Server 2017 for Everyone! - Database Development Course

PHP Bootstrap 4, Heroku and MySQL Course

PHP Development with Bootstrap, GitHub and Heroku

Modern PHP Web Development with MySQL, GitHub and Bootstrap 4

C# - Basics Uncovered

Enterprise C# Winforms Application Development

Introduction To Website Technologies

Check out my premium courses on Udemy
End to End ASP.NET Core 3.1 API and Blazor Development

C# Console and Windows Forms Development with LINQ & ADO.NET

Complete ASP.Net Core 3.1 and Entity Framework Development

Modern PHP Web Development w/ MySQL, GitHub & Heroku

Microsoft SQL Server Development for Everyone!
Рекомендации по теме
Комментарии
Автор

Very well explained! Thankyou for not having too much fluff that is too common in tutorial videos. Even not having the rest of the pages available, I was still able to implement this correctly.

marias
Автор

top job, man. saved me a lot of trouble. you won't believe how hard it is to find clear guides to do this!! I googled for like 2 hours collectively

somdusazerate
Автор

You are a complete legend Trevoir. So simple a fix and really well explained. Cheers mate.

nadinev
Автор

Wow! Man you are a great teacher! You explained the session auth so clear and fast … Thank you!

liviubarburo
Автор

This is so cool, i've learn so much. But i have a question and a task. How do I set restrictions for registored user with, lets say a button instead of writting the username and password in the code directly ($user->inseruser(admin, password).
Im trying to use a button to add admin but i am stuck and dont' know what to do

Doope
Автор

how to do this thing on particular button
Likewise the user just wants to visit website

meghapatel
Автор

Thank you so much, your tutorials are awesome

emilypayne
Автор

what if i open the application and login in some other browser....? this won't prevent me from logging in again there using same creds!

aseemanand
Автор

But one problem I am facing that if someone gets logged in then if by other tab we try to access that page it gets accessed why?

ashwithbhatt
Автор

Omg, finally, you saved me sir! Thank you so much!

meigination
Автор

Thanks for this tutorial.
Thanks.

My own issue is that when I login it will say login successful and hang there without redirecting me to the dashboard.

How can I fix this issue?

micahemmanuel
Автор

Really great videos...could you do a video on roles...anxiously anticipating...

tyronetaylor
Автор

hi, I really have a challenge here. This work perfect on localhost but the restricted page doesn't show if i upload my files to the cpanel. It keeps showing the login page after entering the correct login credential. Can you help me out?
:)

despitegfx
visit shbcf.ru