Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = $_POST [ "username" ] ;
- $password = $_POST [ "password" ] ;
- if ($username == "admin" && $Password = "123456") (
- echo "Loged in";)
- ?>
- <body>
- <form name="form1" method="post" action="">
- <label>Username
- <input type="text" name="username" id= "username">
- </label>
- <p>
- <label>Password
- <input type="text" 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