Part 10-[B]-Admin Panel(Admin Roles): Multi Login / User and Admin Login in PHP

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Here.. in this video.. i have done.. in Admin Panel, the registered user or admin.. what ROLE should be given ? .. Eg: Admin Role or User Role ?.. so..i have completed this task.. If the Registed person Role is given as Admin then he can login into Admin Panel..
    else the ROLE is given as User means.. then he cannot access Admin Panel but, instead he goes to Blog page.
    Code: Login system with multiple user roles.
    www.fundaofwebi...
    Code for : Structure and Set-Up of Admin Panel in PHP
    fundaofwebit.b...
    Playlist for Admin Panel: • PHP : Admin Panel (Das...
    Part 10 [-A-] Admin Panel: Multi Login (User or Admin) Roles and Permission
    • Part 10-[A]-Admin Pane...
    Part 10 [-B-] Admin Panel: Multi Login (User or Admin) Roles and Permission
    • Part 10-[B]-Admin Pane...
    Part 8 Admin Panel: Login System (Session Start and Secure)
    • Part 8-[A]-Admin Panel...
    Part 9 Admin Panel: Logout System (Session Desytroy)
    • Part 9-Admin Panel(Log...

Комментарии • 73

  • @die_hard4000
    @die_hard4000 2 года назад +2

    Your channel really helps me this semester. We are currently making a hotel reservation system and its so hard. But because I am watching your videos, and also I use some of your codes thats why we finish some parts of our system. Thank you🙏

  • @kelvezu1585
    @kelvezu1585 5 лет назад +4

    hands down to you man. you properly explained all the things. I hope you wont stop creating php vids. thank you for sharing your skills. god bless

    • @fundaofwebit
      @fundaofwebit  5 лет назад

      Thank you. :)
      Keep supporting

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

      @@fundaofwebit Hi , i try but dont work, user can acess admin panel by link! how can i resolve?

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

      @@marcohama1 try to check username session in login code.. that they both are different.

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

      @@fundaofwebit I tried but the user was able to access the admin pages !, I think we could create another security file to check if is user / admin

  • @Neerajkumar-fv8zx
    @Neerajkumar-fv8zx 3 года назад +1

    thanks a lot, i was trying to fix a bug from hours finally i got the solution here.

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

    Please fix the session. I m able to access admin page by user login just typing thr url or admin panel in user url

  • @lavieeenroose
    @lavieeenroose 4 года назад +3

    i log in with user account but it go to admin/index.php instead of ../index.php, how can solve it?

    • @jason-bacalla
      @jason-bacalla 3 года назад +1

      do you solve this? thats my problem too.

  • @muhammadshahzadshahzad8632
    @muhammadshahzadshahzad8632 2 месяца назад

    Assalam alekum bhai ek issue araha h jb me site ko login ya logout krta hn mery admin pennel pe bhi same effect hota h

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

    Amazing person !!! Thank you

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

    thank you so much

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

    it's a good job I learned a lot, but there is one problem in this part. after you login us a user then write admin at the top it takes you admin panel. so hwo to stop it? thank u!

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

    Super sir , easy learn 👌👌👌👌

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

    Hi, I lost my admin password, but the database is not showing up, is there any way I can get it back?

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

    i am getting redirected to the login page ?

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

    thank you very much ! :)

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

    Can you try also that student and teacher separate login. An while a student login they can view there grades. With subjects. And while a teacher login. They can add or updates grades and subjects

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

    great work

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

    When I logged in as User and if i access the admin page directly its working for example if im access admin/index.php its showing the page how can i check for that access

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

      I HAVE THE SAME PROBLEM i dont understand the logic behind login code? what is that

    • @jason-bacalla
      @jason-bacalla 3 года назад

      do you solve this? this is my problem too :(

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

    in this url do remove or add after login admin/ and see what happen

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

    Hello! How can i get the full zip file? The fuctions.php code is missing. Thank you.

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

    dear sir plz tell me how to fatch date userwise login session

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

    Thanks

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

    please improve the sound quality it would cool for every student :)

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

    Nice video

  • @md.ashrafuddinfahim8070
    @md.ashrafuddinfahim8070 3 года назад

    good work🤩. But sound quality is very bad 😫. The sound is to much borring

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

    please can you explain how to fetch company name on top navbar relevant login ID ?

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

    i am not able to login my backend admin page.could you please help me out?

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

      Please check source code link in description..

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

    HI FUNDA ! i REALLY LIKE YOUR TUTS.. BUT I HAVE A PROBLEM WITH LOGINCODE AND THE LOGIC OF LOGINCODE.php where do you reference? and you have spelling error in $email_login = $_POST['emaill'];
    $password_login = $_POST['passwordd'];
    i tried a lot but mine is going to ADMIN index.. but all USER also go to ADMIN index .. why? the logincode.php does not work here.. or i have to cut and paste ?

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

      I have given a link in description now... U can copy n try with that...

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

      ​@@fundaofwebit Thanks FUNDA ! I have it now running thanks.. you have to tell the people that the login code is actually in the code.php as a part you have to copy n paste.. . Now i understood.. since the logincode is never ref anywhere.. so thanks and i will continue now .

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

    Code: Login system with multiple user roles.
    Code for : Structure and Set-Up of Admin Panel in PHP
    links not working.please upload again.

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

      Link will be available back... Within 2 days.

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

      @@fundaofwebit thank you sir jee...

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

    admin_panel sql sir pls i dom't see that file

  • @SURYA-jw1ct
    @SURYA-jw1ct 4 года назад

    Hi... After login as user, i can also access Admin page. How to stop that?

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

      Hie... U have to change the session name. For user different session and for admin different session.

    • @SURYA-jw1ct
      @SURYA-jw1ct 4 года назад

      Thank you so much. I didn't expect reply this quickly. You are awesome man. Will try it 👍

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

      I have given link in description. Thank you. Keep supporting.

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

      @@fundaofwebit yes me too when i login with user , i can also access admin panel .how to change session name and on what of the file name
      ?

  • @jhonnyghirsham1236
    @jhonnyghirsham1236 5 лет назад

    When i try to login with "user" and after call /admin/index.php i show the page. How to avoid this?Thanks

    • @fundaofwebit
      @fundaofwebit  5 лет назад

      Use different session name..
      Eg: user login set the session name as.. username
      Admin login set the name as adminusername.
      Code: Login system and multiple user roles.
      fundaofwebit.com/funda-code/php-admin-panel-login-system-with-multi-user

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

      try this:

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

      @@marcohama1 thanks

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

      @@marcohama1 Please, where I'll put this code? Inside "logincode.php"? Thanks

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

      @@fabiotaverna2313 Hi, use on the pages you wont give acess only to the Admin

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

    Sir password hash pr v ye continue kro na??

  • @SURYA-jw1ct
    @SURYA-jw1ct 4 года назад

    Can you please do a 'Login with Google' in this same series to login into blog page?

    • @SURYA-jw1ct
      @SURYA-jw1ct 4 года назад +1

      When I try to do, it's not grtting redirected to blog page. Instead comes back to login page.

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

      @@SURYA-jw1ct did you solve the problem ?

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

    if i have user like sub admin?

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

    Where is the continuing next video

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

      ruclips.net/video/cEhPqZTxBbQ/видео.html
      Full playlist
      ruclips.net/p/PLRheCL1cXHrvTkUenAc5GdEvqIpVX-2JJ

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

      @@fundaofwebit thanks

  • @user-nq9ne6jx4j
    @user-nq9ne6jx4j Год назад

    xD

  • @sports1839
    @sports1839 5 лет назад

    thank you very much..