
Welcome to part 2 of this build. In part 1 we created a simple login form that authenticates users using server side validations and saw how to redirect the browser to the private area of the website. We also saw how to use sessions and session variables to check whether a user is logged in.
Till now, our valid username and password were hard-coded in our PHP script. We will now see how to store credentials...