Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Job No.

02
Job Name: Design a password access system login page using PHP with HTML.

Purpose: Using PHP and HTML language, create a password login access system webpage to prevent unknown and
unfamiliar users on website.

Necessary Equipment:
1. Computer (To perform)
2. Power Supply (For stable connection)
3. Xampp Software (For Localhost)
4. Notepad++ (For editing code)
5. Chrome or any browser (To run the login script)

Working Procces:
➢ At first start the computer with stable power supply and open the Xampp control panel and start Apache
and MySQL service. Then minimize the Xampp control panel.

➢ Create a new document file by name login.php in Xampp Folder (C:\xampp\htdocs\php\login.php).

➢ Now select the file (login.php) and right click. Now click - Edit with Notepad++ and write and save the HTML
code & PHP script.
➢ Now open the default internet browser like Chrome, Firefox, Microsoft Edge and type this
(localhost/php/login.php) in the URL box and press enter to run the script and see the output.

➢ Now try to login with original password (jewelshk). Now we can see the successful message.

➢ And now let’s try to login with a fake password. Now we can see a message, “You entered wrong password,
try again..”.

➢ Now let’s try to login without any password, leave the password box empty and click login. Now we can see
a message, “You must enter a password”. It’s mean the password box is blank.

Remarks: After completing every steps, we learned how to successfully create a password access system login page
using PHP with HTML language, and we can see that, how is the output came using Xampp localhost with any
browser without internet connection on computer.

You might also like