Login & Logout in PHP With Session and MySQL

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ •

  • @erdemKayil
    @erdemKayil 7 місяців тому +1

    you are crazy man. this 9 mins video is the way better than whole UA-cam tutoring videos. This solved my errors as well

  • @nohgoitom9815
    @nohgoitom9815 2 роки тому +11

    I have never seen like this video short and a very simple way to do loggins LOVE IT!!!

  • @pahadimusicbaba8333
    @pahadimusicbaba8333 Місяць тому +1

    Without css I thing life is easy 😂😂😂😂😂

  • @mmk9480
    @mmk9480 Рік тому

    THANK YOU!!! I've been stuck on this for a week!

  • @Wayllw
    @Wayllw 9 місяців тому

    This video is just amazing. The alien voice gives it a special tune haha. Thanks for the help man

  • @QuintusGaius
    @QuintusGaius 2 роки тому +2

    This is really helpful! You have no idea how much this video helped me. It would be wonderful to see more

  • @melaniemurday3138
    @melaniemurday3138 Рік тому

    hi, everything is working fine except that it is not redirecting to another page upon successful login, it stays on the index.php page.
    Any idea what could be the issue?

  • @ntindawellingtontileni1241
    @ntindawellingtontileni1241 2 роки тому +2

    this is a nice basic tut...thanks alot

  • @sidewalkguyph
    @sidewalkguyph 3 роки тому +3

    This is actually good. Just wondering why login page was coded as index and index page has the login form? I think the file names need to be switched.

    • @rein2407
      @rein2407  3 роки тому +3

      Yeah you're right buddy. My bad, i didn't notice. Thanks

    • @kalirocketdev
      @kalirocketdev Рік тому

      @@rein2407 It's okay it works fine... I have an issue... The scripts runs every time including first time when users visit the page... How do we fix that so that the script runs only when the details have been entered is not correct?

  • @Jeridi
    @Jeridi 2 роки тому

    so when you go in other page in back the login page the information has been deleted

  • @Frank-xs7bd
    @Frank-xs7bd Рік тому

    Even though the username and password I put in are correct, it appears incorrect username or password, what is wrong with that, sir?

  • @mr.l4571
    @mr.l4571 2 роки тому

    I got a problem after i key in the username and password, it showed {"code":"MethodNotAllowedError","message":"POST is not allowed"}

  • @carloscortez351
    @carloscortez351 5 місяців тому

    Great video.

  • @slightly4671
    @slightly4671 Рік тому

    Hey! I'm wondering if you'd be willing to make a continuation to this video by adding a simple registration form to this login. Would really appreciate it!

  • @dolluvarshita2600
    @dolluvarshita2600 3 роки тому

    I'm getting an error "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Id = '.......... at line 1" something like this:((
    .Can u help me??

    • @rein2407
      @rein2407  3 роки тому +1

      Check your SQL syntax in line 1. Maybe there is mispelled on that line

  • @hiitinnava1584
    @hiitinnava1584 Рік тому

    Bro source code link was not working

  • @richardrodgers7406
    @richardrodgers7406 3 роки тому

    Thanks for the tutorial. This is great for those jut now starting out.

  • @jeremytiempo5365
    @jeremytiempo5365 3 роки тому +1

    after i login it returns again to index.php or login page not in homepage of the user

    • @rein2407
      @rein2407  3 роки тому

      My bad.I didnt notice I coded the login page to index.php. just rename the both pages. Then edit the header location

    • @jeremytiempo5365
      @jeremytiempo5365 3 роки тому

      @@rein2407 ok i'll try

    • @jeremytiempo5365
      @jeremytiempo5365 3 роки тому

      @@rein2407 same problem occured.. i followed ur reference link ,but i dont know if the problem is on $_session[] = $row []; or else?

    • @rein2407
      @rein2407  3 роки тому

      @@jeremytiempo5365 it logged in but it redirects to index.php?

    • @rein2407
      @rein2407  3 роки тому

      @@jeremytiempo5365 check the windows.href.location on the echo

  • @kevinfrancis7819
    @kevinfrancis7819 Рік тому

  • @bjlyrics1529
    @bjlyrics1529 2 роки тому

    the intro sounded similar to netflix

  • @mohsinsaitth6764
    @mohsinsaitth6764 2 роки тому

    Why don't you make some web application in php 👀?

  • @viruszx_8503
    @viruszx_8503 Рік тому

    Tinkyu

  • @memede7221
    @memede7221 10 місяців тому

    Good

  • @QUMAIS159
    @QUMAIS159 7 місяців тому

    Can I get the html code ????

  • @tiger80hawk50
    @tiger80hawk50 2 роки тому +1

    u just save me Man..!!

  • @syedfahmi1436
    @syedfahmi1436 2 роки тому

    Hi the link to your source code is not working anymore. Is there any way that i can contact you?

  • @nonymousx
    @nonymousx 2 роки тому

    Line 43 and 44 is a bit confusing as you have used the same names for username and password

  • @SelmaOfficial
    @SelmaOfficial 2 роки тому

    source code isn't working mate

  • @yaray24
    @yaray24 Рік тому

    Thank you for sharing

  • @cristiandanielherrera4349
    @cristiandanielherrera4349 2 роки тому

    Nice!

  • @stupidchanell9788
    @stupidchanell9788 3 роки тому

    you're awesome. thanks man!!!

  • @NemanjaRistic-d5y
    @NemanjaRistic-d5y Рік тому

    Thank you!😀

  • @sheezanawaz476
    @sheezanawaz476 2 роки тому

    How can we give style of alert box.

    • @bkyuksel
      @bkyuksel 2 роки тому

      in the css part, should be added to CSS style. You can add style codes before the body tag, and then give a class name to that alert then write the css code in style. Or can be done via inline css at the same row but inline is mess.

  • @mohsinsaitth6764
    @mohsinsaitth6764 2 роки тому

    That was helpful thank youu 🌞

  • @user-hc5jx3bu3u
    @user-hc5jx3bu3u Рік тому

    Thank you so much!!!!

  • @violegrace7323
    @violegrace7323 3 роки тому

    aguirre was here

  • @iswaryak606
    @iswaryak606 Рік тому

    Thanks👍

  • @realgast
    @realgast Рік тому

    tysm

  • @webdigidesigns_07
    @webdigidesigns_07 7 місяців тому

    Thanks bro

  • @PankajSingh-hz2gr
    @PankajSingh-hz2gr 3 роки тому

    Loved ur video

  • @riccardolambertini6555
    @riccardolambertini6555 2 роки тому

    Good tutorial

  • @sharithmadamsith-wo3tv
    @sharithmadamsith-wo3tv 6 місяців тому

    can you send source code

  • @lahcsinayrahca
    @lahcsinayrahca 10 місяців тому

    this is too simple dimple video

  • @Mahdisa21
    @Mahdisa21 2 роки тому

    Bro link not working

  • @minhaj_rahman
    @minhaj_rahman 3 роки тому

    Very nice thanks mate 💪

  • @Gahwotchii
    @Gahwotchii 3 роки тому

    THXXXXX IT WORKED

  • @kiyokomin8971
    @kiyokomin8971 3 роки тому

    😮😮😮

  • @Music-jn4hs
    @Music-jn4hs 2 роки тому

    Thanks so much

  • @muhammedeminokcu1327
    @muhammedeminokcu1327 2 роки тому

    Helpfull, Thx.🙂

  • @Rob_tknd
    @Rob_tknd 3 роки тому

    Thanks !!

  • @manaraljadani6309
    @manaraljadani6309 3 роки тому

    thank you so much

  • @kiranovatheofficial
    @kiranovatheofficial 3 роки тому

    Invalid name or password for ever :'(