Part 9-Admin Panel(Logout): Logout System with Session Destroy in php

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 43

  • @abhikingofkings
    @abhikingofkings 4 ปีที่แล้ว +3

    I really have to say, you have an excellent talent for teaching. You are not shy to admit that you have made a mistake and the step-by-step approach is amazing. I'll look forward for more such tutorials. Thank You

  • @sapnakose
    @sapnakose ปีที่แล้ว +1

    HELPFULL VIDEO THANK YOU SIR...

  • @joshuavalencia1819
    @joshuavalencia1819 5 ปีที่แล้ว +1

    your previous video is cut sir . and here now you didn't include how you create the security.php and the email address will pop up instead of valerie luna , what should i do sir ? i dont know how you did that and it makes me confuse

  • @z4a
    @z4a 3 ปีที่แล้ว

    Thanks a lot Sir..

  • @niharikadayama2549
    @niharikadayama2549 3 ปีที่แล้ว

    Thankyou so much sir

  • @DR-jl6fm
    @DR-jl6fm 4 ปีที่แล้ว

    sir your previous video thing os securing is not working.... please help

  • @mangeetasingh7010
    @mangeetasingh7010 4 ปีที่แล้ว +1

    Sir, I am not getting icons displayed, even if i added css file,so please help

  • @nadiakhlif4214
    @nadiakhlif4214 4 ปีที่แล้ว

    thank youu a lot keep going

  • @thelover2392
    @thelover2392 3 ปีที่แล้ว

    thank u pro

  • @hashinyrao1766
    @hashinyrao1766 4 ปีที่แล้ว

    session['username'] is not working sir. In query the username is blank .
    when I logout from the system it logouts but when i type index.php the page open ups with the past username.

  • @echocoding4550
    @echocoding4550 4 ปีที่แล้ว

    When I click on logged out button that user is logged out but other users also logged out automatically . What can i do .

  • @doniyorusmonov152
    @doniyorusmonov152 5 ปีที่แล้ว

    nice

  • @fabiotaverna2313
    @fabiotaverna2313 4 ปีที่แล้ว +1

    I state that I am not a php programmer, but I had the following problem in this tutorial and I think
    I have solved it, asking for confirmation and maybe it will help someone else who has had the same problem:
    in the video, at 11:18, the "security.php" file had the following code:
    but returned error, not letting me enter the admin panel. The complete code that solves the problem is the following:
    and I had to add
    session_start ();
    on the "login.php" page
    I hope to receive confirmation from someone, thanks.

  • @abdulwahid-fn2rm
    @abdulwahid-fn2rm 4 ปีที่แล้ว +1

    Dear Sir, I am follow all the step and after that I am face "localhost redirected you too many times" error. Can you please let me know how to fix this error.

    • @allencandela1320
      @allencandela1320 4 ปีที่แล้ว +3

      i think you accidentally include the "include('security.php');" in the login.php

    • @abdulwahid-fn2rm
      @abdulwahid-fn2rm 4 ปีที่แล้ว +2

      @@allencandela1320 yes u r right. But I have fixed this error. Thank u

  • @CHIAYENTAN
    @CHIAYENTAN 6 หลายเดือนก่อน

    Can i know the css code for logout.php?

  • @kalainilas3587
    @kalainilas3587 5 ปีที่แล้ว

    sir if i include security.php , it creates ERR_TOO_MANY_REDIRECTS error. how can we eliminate this?

    • @abdulwahid-fn2rm
      @abdulwahid-fn2rm 4 ปีที่แล้ว

      hello, I have face same issue, Please let me know can you solve this issue?

  • @davidmamulashvili3581
    @davidmamulashvili3581 5 ปีที่แล้ว

    you must start session in top of login.php, to get $_SESSION['status'], because in header.php session not starting.

    • @tania1418
      @tania1418 4 ปีที่แล้ว

      same issue

  • @HimanshuSharma-on7gt
    @HimanshuSharma-on7gt 5 ปีที่แล้ว

    session is not getting destroyed.
    when I logout from the system it logouts but when i type index.php the page open ups with the past username.
    Help ASAP.

    • @fundaofwebit
      @fundaofwebit  5 ปีที่แล้ว

      Destroy the session of ur loggedin admin or username..
      Else... destroy all the session. Using session_destroy();

    • @HimanshuSharma-on7gt
      @HimanshuSharma-on7gt 5 ปีที่แล้ว

      @@fundaofwebit I destroyed using session_destroy();

    • @HimanshuSharma-on7gt
      @HimanshuSharma-on7gt 5 ปีที่แล้ว

      but session is not getting destroyed.

    • @HimanshuSharma-on7gt
      @HimanshuSharma-on7gt 5 ปีที่แล้ว

      also see this
      .
      .
      .
      .

    • @poojadalai733
      @poojadalai733 4 ปีที่แล้ว

      Did you find something how to destroy all the sessions because I tried the same thing but I can still access index.php after logout?

  • @shameempv2772
    @shameempv2772 2 ปีที่แล้ว

    Hi..while iam using security.php file,Iam getting ERR_TOO_MANY_REDIRECTS..anyone pls help me

    • @fundaofwebit
      @fundaofwebit  2 ปีที่แล้ว

      Use exit() after the header() in the file.

  • @mahamedahmed1238
    @mahamedahmed1238 5 ปีที่แล้ว

    the login page its onlt checks is there are any email it is not checkin the correct password

    • @fundaofwebit
      @fundaofwebit  5 ปีที่แล้ว

      Part 8-Admin Panel(Login): Login System with Session and Security in php...
      There is a small Mistake in Coding in code.php file replace with :
      if($query_run) - if(mysqli_fetch_array($query_run)) Sorry for this Error.. :(

    • @mahamedahmed1238
      @mahamedahmed1238 5 ปีที่แล้ว

      @@fundaofwebit thank you broh it warks now

    • @Emmadacomputerguy
      @Emmadacomputerguy 4 ปีที่แล้ว

      @@mahamedahmed1238 wawoo it worked

    • @ccguatemala
      @ccguatemala 4 ปีที่แล้ว

      @@mahamedahmed1238 Hello, in which line of the code.php is it changed?

  • @RajaKumarVanukuru
    @RajaKumarVanukuru 5 ปีที่แล้ว

    im not getting dropdown when i clicked for logout

    • @roshankhanal4275
      @roshankhanal4275 5 ปีที่แล้ว

      Same problems did u get solutions

    • @dinmarktaguic2828
      @dinmarktaguic2828 4 ปีที่แล้ว

      @@roshankhanal4275 did you solve that problem? i have same problem

    • @fundaofwebit
      @fundaofwebit  4 ปีที่แล้ว +1

      Check with ur bootstrap.js is added in ur admin script..
      If no result.. Go to: getbootstrap.com n documentation- search for modal n ull get d answer..