Php code for validating username and password
Then we used an there function of PHP programming Language that is mysql_fetch_array().This will fetch all data according to the SELECT query.
Figure 2: Output of the Sign-in Webpage with updated size of fieldset tag As you can see in the Listing 1 and 2 we used such a good Html tags to design a simple log-in form. The functionality of type password is to don’t show the text what we will enter in the password box. And when we are dealing with our ID and Password, so we should be alert from the hackers.
We used legend tag with fieldset tag to use texts on the upper side of the form. Instead of password texts or characters it will show bold dots like ? Because the GET is being used in Phishing webpages, by which people are making fool the internet users to get their personal ID and Password.
Now it’s time to use CSS style on the webpage to create some attraction. But the good thing is that which matches to this page.
Listing 6: Figure 4: Taking input from user as the user’s ID and Password to get log-in As you can see at this stage the webpage of is working well.
Because we need a webpage which takes input from user’s ID and Password, and the main thing it should not show the user’s Password which he is giving input at the getting log-in time.