• 12Mar

    This tutorial goes over the concept of a log in system with MySQL with sessions. (The sources are provided after the jump)
    One of my viewers sent me a message on youtube requesting this great example

    Dear kloplop321,
    I really want to make a php, mysql based game. I have an idea about how I am going to do it. I would just really love some help with the SESSION login. There are tutorials on the internet but I find that they don’t show the full code or stuff like that. So if you would please create a tutorial on it I would apprecitate it. Thanks.

    This tutorial naturally has the sources provided.

    The following videos(2) go over the concept of a login system in PHP while using sessions(to maintain the login status) and MySQL(a database that holds the information). I first go over how to make

    • the login page
    • the table in the database
    • a user through PHPMyAdmin [the next tutorial will likely go over registering users]
    • code how to validate that user and if they are validated
    • if so, set the session information
    • if acceptable, they can go to a “members only” page [which only allows identified people in]
    • a way to log out

    Again: this tutorial is pretty much a walk-through in concept of a mysql login system.

    Part 2 (the most important) and the sources after the jump.
    Read more…

    Tags: , , , , ,