Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $username = NULL;
- $password = NULL;
- if(isset($_SESSION['username'])){
- $username = $_COOKIE['username'];
- $password = $_COOKIE['password'];
- }
- ?>
- <html>
- <title>Login</title>
- <body bgcolor='#000000'>
- <font color="white">
- <H2><div align='center'>Login</div></H2>
- <form align='center' action='login.php' method='POST'>
- Username: <input type='text' name='username' value='<?$_COOKIE['username']?>'><br \>
- Password: <input type='password' name='password' value='<?$password?>'><br \>
- Remember Me <input type='checkbox' name='remember' value='rememberme'><br \>
- <input type='submit' value='Login'>
- </form>
- </font>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement