HomePHP Page 4 - Filters and Login Systems for Web Application Security
The code - PHP
In this article we will be building our application, using the concepts discussed in the previous articles. Any web site that is selective in the kind of users that it wants to grant access to will need some method of filtering. This filtering is usually done through a login system. This (and more) is what we will be building. This article is the third part of an eight-part series.
alert("Please make sure that you have entered your username and password")
In the code above, the pform1 refers to the form name and the pw refers to the form field name. The same applies to the uname.value line. The alert message is what the user will see if the form fields are empty.
In the next article we will continue to explore the login page and also discuss the benefits of authentication from a security point of view.