How to create Roles and Privileges in PHP Admin Panel

  Рет қаралды 69,189

Programming with Vishal

Programming with Vishal

Күн бұрын

In this video I will explain you how to create Roles and Privileges in PHP Admin Panel. Also I will explain you how to set different types of roles to admin users.
Learn PHP Online with Me:- bit.ly/LearnPH...
To help and support me(Donate Me):- bit.ly/DonateP...
Download source code from here bit.ly/RolesAnd...
#PHP #PHPAdmin #PHPRolesAndPrivileges
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅Subscribe: / @programmingwithvishal
I am a Digital Marketer by passion and a Developer by profession. With experience and expertise spanning around 10 years, in the Digital space.
Good amount of experience in development of web applications using PHP, .Net, JavaScript Library’s, Frameworks, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital viral marketing, technology innovation's, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise.

Пікірлер: 131
@Shahid-Khan90
@Shahid-Khan90 3 жыл бұрын
Great. You have a very good understanding of PHP. You can add another chapter to this lesson by adding another feature. Giving admin the ability to create users and update his role and priviledges.
@ProgrammingwithVishal
@ProgrammingwithVishal 3 жыл бұрын
Thanks and I m already planning for this. Will do that very soon
@alenaalex5733
@alenaalex5733 4 жыл бұрын
thanks man you solve my problem
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Welcome Alena
@devansafhu5110
@devansafhu5110 7 ай бұрын
Thank you Vishal ji... you explained it very well. It worked and I learnt something today.
@sannsoknat7424
@sannsoknat7424 4 жыл бұрын
very nice videos sir thanks you for your sharing. love you from Cambodia
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Most welcome
@PankajKumar-er3cd
@PankajKumar-er3cd 4 жыл бұрын
wonderful implementation of rbac
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks Pankaj
@AK_0007-sss
@AK_0007-sss Жыл бұрын
Great video, very simple and easy to understand
@swastikjainsj
@swastikjainsj 2 жыл бұрын
Tqsm
@rohanmp-rt1si
@rohanmp-rt1si Жыл бұрын
Thank lot sir, for your information 🙏
@kumaranil2614
@kumaranil2614 3 жыл бұрын
Best tutos , Thank you :) from bihar
@ProgrammingwithVishal
@ProgrammingwithVishal 3 жыл бұрын
Thanks a lot
@AH-cf9cv
@AH-cf9cv 3 жыл бұрын
Thank u sir,God bless u.
@prajakta7515
@prajakta7515 4 жыл бұрын
Thank you sir...
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Welcome Prajkta
@developerravi1618
@developerravi1618 2 жыл бұрын
thaks sir most helpful video
@abdulkhuddus4985
@abdulkhuddus4985 4 жыл бұрын
Thank you sir
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks abdul
@vinaybhuria6749
@vinaybhuria6749 2 жыл бұрын
Sir please make a video on below point User Can create, view, update and delete only posts created by themselves....? And Admin can create, view, update and delete any data link posts, users..?
@VishalMevada102
@VishalMevada102 Жыл бұрын
This is highly important. Did you get such tutorial regarding your question?, Vinay
@vinaybhuria6749
@vinaybhuria6749 Жыл бұрын
@@VishalMevada102 no bro
@sekarpandiankolunthu5769
@sekarpandiankolunthu5769 4 жыл бұрын
Super bro.. thank you very much
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks a lot
@manojsinghjalal565
@manojsinghjalal565 3 жыл бұрын
we are really thankful for your amazing video and concept clearing. please make a video on data sync across two web app, or online and ofline app.
@ShoaibxDofficial
@ShoaibxDofficial Жыл бұрын
Kiya Iss tarike zariye ham admin m se limited permission Hod ko deskty han or teachers ko and students ko????
@rakibahsan6786
@rakibahsan6786 Жыл бұрын
great bro
@saurabhtitus8267
@saurabhtitus8267 3 жыл бұрын
vishal sir is gr8 in youtube
@sangposangpo7474
@sangposangpo7474 3 жыл бұрын
thank vishal for making access to your resourceful videos free of course.
@DurgeshKumar-gx1bl
@DurgeshKumar-gx1bl 5 жыл бұрын
Please make a series of laravel tutorial
@robinsaifullah6692
@robinsaifullah6692 Жыл бұрын
nice
@RaviKumar-ts6dy
@RaviKumar-ts6dy 4 жыл бұрын
Awesome thanks
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks Ravi
@sandeepkumarmishra4154
@sandeepkumarmishra4154 4 жыл бұрын
great video sir
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks Sandeep
@sandeepkumarmishra4154
@sandeepkumarmishra4154 4 жыл бұрын
welcome sir
@karimkherfallah9687
@karimkherfallah9687 4 жыл бұрын
Best tutos , Thank you :)
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks Karim
@landofabraham
@landofabraham 4 жыл бұрын
Your tutorials are damn simple and easy understandable. I know Hindi less, but the way you teach is so interesting and clear. So love from Bangladesh. Carry on dude. I follow you. Hope, I will donate you soon. :)
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks a lot.
@landofabraham
@landofabraham 4 жыл бұрын
@@ProgrammingwithVishal No problem. Happy coding. 😀
@anh170
@anh170 4 жыл бұрын
thanks for video !
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
You are welcome!
@mainakkun
@mainakkun 4 жыл бұрын
sir Its very educative video thank you sir...it will be helpful to most....and thanks again i was stuck in hiding dropdowns according to users
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks and Welcome Mainak
@marcandreigobison3225
@marcandreigobison3225 3 жыл бұрын
you guys never let me down when it comes to coding.
@dastgirakhtar9782
@dastgirakhtar9782 5 жыл бұрын
nice !
@kamleshkumar1670
@kamleshkumar1670 5 жыл бұрын
Very much impressed, want to know if 10 different user to be redirected to specific page of his credentials with single line coding
@ProgrammingwithVishal
@ProgrammingwithVishal 5 жыл бұрын
Yes, that's same I am doing here
@VishalMevada102
@VishalMevada102 Жыл бұрын
Excellent work Vishal, Need a little more help regarding the user privileges to only allow users to edit their own content. While admin can edit,create and delete all. Did you create any tutorial for this?
@msmediascreenentertainment1951
@msmediascreenentertainment1951 4 жыл бұрын
very nice vishal bahee
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks bhai
@ravichhikani5773
@ravichhikani5773 3 жыл бұрын
Sir bootstrap all properties no video banaye
@krishnawaghmode2120
@krishnawaghmode2120 5 жыл бұрын
sql injection with example precautions
@meenasharma1496
@meenasharma1496 4 жыл бұрын
Sir pls create a video that advanced role and priveleges
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Will do shortly
@apurvapatre6854
@apurvapatre6854 2 жыл бұрын
Sir aapne template download karne ke bad 3 sections me bootstrap ko kaise edit kiya iska idea de dijiye please.
@manjeetkumarverma7808
@manjeetkumarverma7808 3 жыл бұрын
Sikhane ke liye vedio bnate ho ya aapne liye sir
@sandeepkumarmishra4154
@sandeepkumarmishra4154 4 жыл бұрын
sir ji 1 query hai pls reply mlm like network marketing ki unke backend me commission kaise calculate hota hai pls reply
@user_noway
@user_noway 8 ай бұрын
can this is be a back door for a website for a admin? is this how we create backdoor for a website?
@muhammadqasim3352
@muhammadqasim3352 Жыл бұрын
Does this cover all the user priviledges???
@Bbcm1602
@Bbcm1602 3 жыл бұрын
Please make a video on core php how we can do secure login system such we can avoid cross site frogery, sql injection, session fixation and more vulnerabilities. Waiting for your response. And also try to make some videos on how we can secure our web application. I watched some of your videos they were very good specially best way to secure admin panel one.
@akofficial240
@akofficial240 4 жыл бұрын
Plz tell me sir how to create admin dristubutar retailer and dristubutar manager retailer
@kishandave722
@kishandave722 2 жыл бұрын
Sir hame ye sikhaye ki wordpress me jaise hame pura fresh deshboard milta wese ham kisiko fresh admin panel kaise de sakte hai muje database ke logic samaj me nai aate hai kyuki ek database or 100 logo ka data kaise reh sakta hai or specific user ke liye uska data uske admin panel par ham kaise dikha sakte kyuki database ek hai or table bhi jo hamne banaya hai wo bhi same hai or wo user jo data dalta hai wo bhi ek hi jaga store hote hai to jo ham condition fetch data ke liye likhte hai wo bhi ek hi hai ki select * from table name to 100 logo ka data nikal kar aayega or ham to specific data dikhana chahte hai jo usne entries ki hai to wo kaise kare please help me.........
@cstechnology4613
@cstechnology4613 4 жыл бұрын
Plz sir aap Laravell ka tutorial upload kijiye
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Sure Will do
@KKK-1144
@KKK-1144 2 жыл бұрын
How role play dynamic select box
@CyberYatri
@CyberYatri Жыл бұрын
Hi Vishal, suppose user ID=1(or random) and flowing with the http request how we will set a privileges 4ki koi us id ko change kar ke privilege esclation na kar paye.?🙄
@avicknahaofficial958
@avicknahaofficial958 3 жыл бұрын
Sir maine tution porna chatehu.. apse. Pls inform kijiye..
@mohdshahbaz574
@mohdshahbaz574 4 жыл бұрын
Nice tutorial sir, but ek question hai, agr hum role ka data dusri table match krwate to uski query kaise likhte login ke time.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Login ke time apko check karna hoga ki jo current user hai (Jisne login kiya hai) uska id dusri table hai ya nahi. select * from table2 where uid='$uid'
@mohdshahbaz574
@mohdshahbaz574 4 жыл бұрын
@@ProgrammingwithVishal thank you sir..
@vivekawasthi6758
@vivekawasthi6758 4 жыл бұрын
How superadmin allow some pages for admin and want then not. Allowed using checkbox
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Yes, Checkbox se aap kar sakte hain.
@ashoksen2003
@ashoksen2003 4 жыл бұрын
Can you make a video with dynamic menu from db and button level permission (add, delete, modify, view only)
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
I had already explained your questions in this video. If your understand the concept from the video, you can do rest of the things easily. Try yourself and let me know if you have any issue.
@designingworld1412
@designingworld1412 3 жыл бұрын
How to add option control view delete and insert from Admin side permission for users
@swastikjainsj
@swastikjainsj 2 жыл бұрын
can we display data using redirect ? php files ?
@AyushGupta-ke9ik
@AyushGupta-ke9ik Жыл бұрын
Sir Last login time logout time admin page pr show kese kre Sath hi wo hr bar login ke bad update hota rhe Pls hlp
@praneethkumargummadi3018
@praneethkumargummadi3018 3 жыл бұрын
Please provide link of login page vedio which used in this vedio
@1149binu
@1149binu 4 жыл бұрын
Good work vishal gi, you are doing an excelent work. I have a request could you please create a video on uploading large csv file to html table then to db. Thanks in advance..
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Thanks and Noted Binu.
@UZvibes
@UZvibes 3 жыл бұрын
Sir I made this same but now when added signup button its not redirecting to signup page as I hv put both login page and signup page in admin folder .. but as u set if user is not login it can't go inside other pages it is redirect to login ...how redirect to signup page
@ranikhusboo407
@ranikhusboo407 3 жыл бұрын
Sir please admin roles ko permission diya jye edit aur delte but new ka koi permission na diya jaye
@amjadawan4150
@amjadawan4150 4 жыл бұрын
sir if count k andr ki statement smj ni i session wali..... kindly must reply
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Email me at phpvishal@gmail.com
@vivekawasthi6758
@vivekawasthi6758 4 жыл бұрын
Sir admin kuch pages user ko allow kare aur jab chahe na allow kere checkbox ke through
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Checkbox de ke admin panel pe aap kar sakte hain
@vivekawasthi6758
@vivekawasthi6758 4 жыл бұрын
Sir logic nhi ban rha hai
@vivekawasthi6758
@vivekawasthi6758 4 жыл бұрын
Please help me
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Show me, apne kya kiya hai, send me your code phpvishal@gmail.com
@vivekawasthi6758
@vivekawasthi6758 4 жыл бұрын
Sir aap apne isi project pe samjha dijiye , Suppose Superadmin access Page1 , page2 , page3 , page4 , page5 , page6 Admin access Page7 , page8 But super admin check using checkbox page2 option Then admin can access page 2 After working uncheck then page 2 desable for admin
@mayankkashyap1893
@mayankkashyap1893 3 жыл бұрын
Bhaiya bahot saare web series me dekhe toh milta h ki 1st video play ho rha h phir 2nd video se if subscription nhi h toh nhi play hoga wo kaise krenge php me?
@errajkumar5335
@errajkumar5335 3 жыл бұрын
Not a best way. What if my website has 50 pages. do I need to add code on every page to restrict access?
@mahantkumaryadav4430
@mahantkumaryadav4430 3 жыл бұрын
Hlw sir ek help chahiye thi
@mgope9250
@mgope9250 4 жыл бұрын
बहुत धन्यवाद , अगर पांच काम है, कुछ users है। Admin, कुछ users को पांच काम में से कुछ काम के लिए allow करना चाहे तो .....sir बस logic बता दीजिए।
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Jaise abhi code likha hai, waise hee aap code likho. Abhi 2 users hai aap 4 or add Kar lo condition main
@mgope9250
@mgope9250 4 жыл бұрын
@@ProgrammingwithVishal Lekin (work 1) aur (work 5) ko kese kisi user ke liye allow karun, Yeh fir... (Work 1), (work 3)and (work 5) kisi user ke liye.
@sekarpandiankolunthu5769
@sekarpandiankolunthu5769 4 жыл бұрын
super bro... awesome coding.. kindly share me role 3 also(like role=1(admin), role=2(lecture), role=3(student)... how to add role 3 bro
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
The same added role 1 and 2, you can add role 3.
@sergiperezjimenez8858
@sergiperezjimenez8858 2 жыл бұрын
I'm trying to download the code but it doesn't work :/
@taps09099
@taps09099 4 жыл бұрын
Hello sir
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Hello
@taps09099
@taps09099 4 жыл бұрын
@@ProgrammingwithVishal can I get the full source code
@PardeepKumar-vk5sc
@PardeepKumar-vk5sc 3 жыл бұрын
sir how can i contect with you
@MysticMind344
@MysticMind344 2 жыл бұрын
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Blog\includes\headerr.php:1) in C:\xampp\htdocs\Blog\login.php on line 20 this error is coming
@itdrodze526
@itdrodze526 4 жыл бұрын
Brother why u used $row['IS_LOGIN'] = 'yes' Please i need to know.
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
It's $_SESSION ['IS_LOGIN'] = 'yes' This is just to set a SESSION variable, nothing else. Here you can use anything for 'yes'. this is just to set $_SESSION ['IS_LOGIN']
@itdrodze526
@itdrodze526 4 жыл бұрын
Vai mera matlab hay 'yes' to kohi bhi kam may nehi laga or yes kay badlemay No deta tab koi problem hoga keya? I mean os session ka value koi maine rakhta hay keya?
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Haan ji, kuch bhi rakh lo
@jamesliu2767
@jamesliu2767 3 жыл бұрын
i was trying to understand his acc.... nvm
@savithasharath6758
@savithasharath6758 4 жыл бұрын
how to create dashboard for each users
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Same way as we created left navigations for different users
@savithasharath6758
@savithasharath6758 4 жыл бұрын
thanks for your valuable response...i have other doubt also..if u dont mind can u pls share your email id?i have send my queries via email
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
email me at phpvishal@gmail.com
@MAAZKHAN-xv1lc
@MAAZKHAN-xv1lc 3 жыл бұрын
Bro I am inserting multi-row data using the checkbox in MySQL database using custom PHP. The problem is I am facing the duplicate value problem. Can you make a video tutorial on this, please???
@muztosh3359
@muztosh3359 2 жыл бұрын
eklarke nahe nahe
@gaelxmdb
@gaelxmdb 3 жыл бұрын
Let me tell ya your website doesnt check if the email is correct :3
@ProgrammingwithVishal
@ProgrammingwithVishal 3 жыл бұрын
This video just for roles and privileged
@buster190884
@buster190884 4 жыл бұрын
it would be nice if you actually speak english so all of us non indian speakers can understand you
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Sure will do soon.
@buster190884
@buster190884 4 жыл бұрын
@@ProgrammingwithVishal thank you !!! Because your tuts are amazing!!!!👏👏👏👏👏
@amjadawan4150
@amjadawan4150 4 жыл бұрын
sir kindly place your email
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
phpvishal@gmail.com
@farbinsultana174
@farbinsultana174 4 жыл бұрын
Are yar ye server pe nahi chalta. Ullu bana raha he
@ProgrammingwithVishal
@ProgrammingwithVishal 4 жыл бұрын
Dude server pe chalna or local pe chalna ek hee baat hao. Kya issue ho raha hai apko ye bato. I am working in development from last 10 years and first time I am hearing this, if u have any issue please and don't blaming. And also once again roles ka server se koi lena dena nahi hai, it's a logic.
@iqrariqqi3907
@iqrariqqi3907 3 жыл бұрын
thank you Soo much sir
How to Create SEO Friendly URLs
21:45
Programming with Vishal
Рет қаралды 20 М.
How to Automatically logout inactive user using PHP
26:11
Programming with Vishal
Рет қаралды 20 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 39 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 12 МЛН
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 25 МЛН
Real 10x Programmers Are SLOW To Write Code
14:51
Thriving Technologist
Рет қаралды 25 М.
How to create 
Pagination Script 
in PHP
26:30
Programming with Vishal
Рет қаралды 18 М.
PHP OTP Login Verification Script
27:36
Programming with Vishal
Рет қаралды 116 М.
PHP Captcha with Database Connectivity
19:50
Programming with Vishal
Рет қаралды 20 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН