How to create Roles and Privileges in PHP Admin Panel

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • 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

  • @ShoaibxDofficial
    @ShoaibxDofficial Год назад

    Kiya Iss tarike zariye ham admin m se limited permission Hod ko deskty han or teachers ko and students ko????

  • @devansafhu5110
    @devansafhu5110 8 месяцев назад

    Thank you Vishal ji... you explained it very well. It worked and I learnt something today.

  • @Shahid-Khan90
    @Shahid-Khan90 3 года назад +4

    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.

  • @AK_0007-sss
    @AK_0007-sss Год назад

    Great video, very simple and easy to understand

  • @sannsoknat7424
    @sannsoknat7424 4 года назад +1

    very nice videos sir thanks you for your sharing. love you from Cambodia

  • @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.?🙄

  • @rohanmp-rt1si
    @rohanmp-rt1si Год назад

    Thank lot sir, for your information 🙏

  • @saurabhtitus8267
    @saurabhtitus8267 3 года назад

    vishal sir is gr8 in youtube

  • @AH-cf9cv
    @AH-cf9cv 3 года назад

    Thank u sir,God bless u.

  • @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.

  • @user_noway
    @user_noway 9 месяцев назад

    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???

  • @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?

  • @apurvapatre6854
    @apurvapatre6854 2 года назад

    Sir aapne template download karne ke bad 3 sections me bootstrap ko kaise edit kiya iska idea de dijiye please.

  • @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

  • @mayankkashyap1893
    @mayankkashyap1893 4 года назад

    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?

  • @developerravi1618
    @developerravi1618 2 года назад

    thaks sir most helpful video

  • @kumaranil2614
    @kumaranil2614 3 года назад +1

    Best tutos , Thank you :)
    from bihar

  • @alenaalex5733
    @alenaalex5733 4 года назад +2

    thanks man you solve my problem

  • @iqrariqqi3907
    @iqrariqqi3907 3 года назад

    thank you Soo much sir

  • @kamleshkumar1670
    @kamleshkumar1670 5 лет назад +1

    Very much impressed, want to know if 10 different user to be redirected to specific page of his credentials with single line coding

  • @kishandave722
    @kishandave722 3 года назад

    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.........

  • @PankajKumar-er3cd
    @PankajKumar-er3cd 4 года назад +2

    wonderful implementation of rbac

  • @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

  • @vinaybhuria6749
    @vinaybhuria6749 2 года назад +1

    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

  • @swastikjainsj
    @swastikjainsj 2 года назад

    can we display data using redirect ? php files ?

  • @swastikjainsj
    @swastikjainsj 2 года назад

    Tqsm

  • @mainakkun
    @mainakkun 4 года назад +1

    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

  • @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

  • @landofabraham
    @landofabraham 4 года назад +2

    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. :)

  • @sangposangpo7474
    @sangposangpo7474 3 года назад

    thank vishal for making access to your resourceful videos free of course.

  • @vivekawasthi6758
    @vivekawasthi6758 4 года назад

    How superadmin allow some pages for admin and want then not. Allowed using checkbox

  • @sekarpandiankolunthu5769
    @sekarpandiankolunthu5769 4 года назад +1

    Super bro.. thank you very much

  • @rakibahsan6786
    @rakibahsan6786 Год назад

    great bro

  • @marcandreigobison3225
    @marcandreigobison3225 3 года назад

    you guys never let me down when it comes to coding.

  • @msmediascreenentertainment1951
    @msmediascreenentertainment1951 4 года назад +1

    very nice vishal bahee

  • @abdulkhuddus4985
    @abdulkhuddus4985 4 года назад +1

    Thank you sir

  • @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..

  • @sandeepkumarmishra4154
    @sandeepkumarmishra4154 4 года назад +1

    great video sir

  • @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?

  • @karimkherfallah9687
    @karimkherfallah9687 4 года назад +1

    Best tutos , Thank you :)

  • @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

  • @DurgeshKumar-gx1bl
    @DurgeshKumar-gx1bl 5 лет назад +3

    Please make a series of laravel tutorial

  • @amjadawan4150
    @amjadawan4150 4 года назад

    sir if count k andr ki statement smj ni i session wali..... kindly must reply

  • @avicknahaofficial958
    @avicknahaofficial958 3 года назад

    Sir maine tution porna chatehu.. apse. Pls inform kijiye..

  • @anh170
    @anh170 4 года назад +1

    thanks for video !

  • @robinsaifullah6692
    @robinsaifullah6692 2 года назад

    nice

  • @RaviKumar-ts6dy
    @RaviKumar-ts6dy 4 года назад +1

    Awesome thanks

  • @sergiperezjimenez8858
    @sergiperezjimenez8858 2 года назад

    I'm trying to download the code but it doesn't work :/

  • @manjeetkumarverma7808
    @manjeetkumarverma7808 3 года назад

    Sikhane ke liye vedio bnate ho ya aapne liye sir

  • @praneethkumargummadi3018
    @praneethkumargummadi3018 3 года назад

    Please provide link of login page vedio which used in this vedio

  • @akofficial240
    @akofficial240 4 года назад

    Plz tell me sir how to create admin dristubutar retailer and dristubutar manager retailer

  • @dastgirakhtar9782
    @dastgirakhtar9782 5 лет назад +1

    nice !

  • @ravichhikani5773
    @ravichhikani5773 3 года назад

    Sir bootstrap all properties no video banaye

  • @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

  • @designingworld1412
    @designingworld1412 3 года назад

    How to add option control view delete and insert from Admin side permission for users

  • @ranikhusboo407
    @ranikhusboo407 3 года назад

    Sir please admin roles ko permission diya jye edit aur delte but new ka koi permission na diya jaye

  • @meenasharma1496
    @meenasharma1496 4 года назад

    Sir pls create a video that advanced role and priveleges

  • @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.

  • @itdrodze526
    @itdrodze526 4 года назад

    Brother why u used $row['IS_LOGIN'] = 'yes'
    Please i need to know.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 года назад +1

      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

  • @mahantkumaryadav4430
    @mahantkumaryadav4430 3 года назад

    Hlw sir ek help chahiye thi

  • @PardeepKumar-vk5sc
    @PardeepKumar-vk5sc 3 года назад

    sir how can i contect with you

  • @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.

  • @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..

  • @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.

  • @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

  • @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???

  • @cstechnology4613
    @cstechnology4613 5 лет назад +1

    Plz sir aap Laravell ka tutorial upload kijiye

  • @krishnawaghmode2120
    @krishnawaghmode2120 5 лет назад +1

    sql injection with example precautions

  • @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

  • @gaelxmdb
    @gaelxmdb 3 года назад

    Let me tell ya your website doesnt check if the email is correct :3

  • @taps09099
    @taps09099 4 года назад

    Hello sir

  • @jamesliu2767
    @jamesliu2767 3 года назад

    i was trying to understand his acc.... nvm

  • @muztosh3359
    @muztosh3359 2 года назад

    eklarke nahe nahe

  • @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 года назад +1

      Sure will do soon.

    • @buster190884
      @buster190884 4 года назад +1

      @@ProgrammingwithVishal thank you !!! Because your tuts are amazing!!!!👏👏👏👏👏

  • @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.

  • @amjadawan4150
    @amjadawan4150 4 года назад

    sir kindly place your email

  • @prajakta7515
    @prajakta7515 4 года назад +1

    Thank you sir...