Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="icon" href="favicon.ico" type="image/x-icon">
- <link rel="stylesheet" type="text/css" href="style.css" />
- <title>Login Success - Jubby996.com</title>
- <body>
- <body style="font-family:'verdana';">
- <div id="container2">
- <div id="img">
- <center><p><img src="Jubby996.png" width="600" height="150" alt="Jubby996 Logo"/></p><center>
- </div>
- </div>
- <div id="container">
- <div id="Navigation">
- <h4>
-
- <div class="Pos"><a href="index.php">Home</a></div>
-
- <div class="Pos"><a href="Login.php" class="changeColorCss">Login</a></div>
-
- <div class="Pos"><a href="sessiontest.php" class="changeColorCss">Test</a></div>
- &nsbp;
- </h4>
- </h4>
- </div>
- <div id="Area">
- <font color="#151B8D"><h1>Login Successful</h1></font>
- <hr>
- <?php
- session_start();
- if(!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] != true) { redirect to login page }
- $_SESSION['logged_in'] = true;
- // login form variables
- $username = $_POST["username"];
- $password = $_POST["password"];
- // echo login form
- echo ("Welcome ". $username);
- echo ("<br />");
- echo ("Your password is ". $password);
- ?>
- </form>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment