Showing posts with label user account in php and mysql. Show all posts
Showing posts with label user account in php and mysql. Show all posts

Tuesday, July 15, 2014

Sentinel Login Security in PHP and MySQL

Working on the web is more intimidating compared with working in a desktop environment why because in the Internet there are many people using it and they are located in different locations around the world. One of the major concern is about security this is because anyone can access your personal information in the Internet once they gain access to your account such as username and password for instance.

In this article I would like to share with you a sample program that I wrote using PHP, MySQL and JQuery I called this program Sentinel Login Security. What this program will do is to check if the user is authorized to access the website by asking the user for its username and password. Once the user provide the necessary username and password our program will search the record from the database once the record exist it will allow the user to enter in the main page and the name of the user will also display on the main page. However if the username and password cannot be found in our MySQL database our program will do a small shake animation and display the message wrong username and password. 

I also added a button to cancel the operation and the webpage will automatically close itself from the web browser. The program is very easy to understand I also added an SQL dumb file to easy creation of the database, table and insertion of sample user records.

If you have some questions about my work please don't hesitate to email me at jakerpomperada@yahoo.com and jakerpomperada@gmail.com.

Thank you very much.


Login Page of our Program


Welcome Page of our Program