Launch your Notepad application and make a file named "index.php". Place in the following lines of code into the page:
Code:
<? php
= "user";
= "pass";
= "canyouguessmypassword";
?>
This code will assign a username, password and a casual variable. Customize these inputs to your favorite.
The HTML Code
Add HTML login form code under that will be utilize to believe the login information and pass it to PHP code that will be run on the server:
Code:
<html>
<head>
<title> Login Page</title>
</head>
<body>
<form action = "login" method = "post'.
<Label>input type= "text" id= "name" />Unsername</label><br/>
<label><input type= "password" id="pass"/>Password</label><br/>
<input type= "submit" id= "Submit" value= "Login" />
</form>
Bookmarks