Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Login</title>
- </head>
- <?php
- $username = $_POST["username" ];
- $password = $_POST["password" ];
- if ($username == "admin" && $Password = "123456") {
- echo "Loged in";}
- ?>
- <body>
- <form name="form1" method="post" action="">
- <label><br>
- Username
- <input type="text" name="username" id= "username">
- </label>
- <p>
- <label>Password
- <input type="password" name="password" id= "password">
- </label>
- </p>
- <p>
- <label>
- <input name="Login" type="submit" value="Login">
- </label>
- </p>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement