Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Login.php
- <html>
- <head>
- <title>Login Page</title>
- <style type="text/css">
- body {
- background-color:black;
- color:yellow;
- </style>
- <body>
- <form action="logincheck.php" method="post">
- <p align="center">
- Username: <input type="text" name="us"><br />
- Password: <input type="password" name="pw"><br />
- <input type="submit" value="Login" name="loginbutton">
- </form>
- </body>
- </html>
- Logincheck.php
- <?php
- $username="nan0^";
- $password="csbeograd1";
- if ($_POST us=="nan0^" || pw=="csbeograd1)
- {echo "succes";}
- else
- {echo "fail";}
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement