Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <html>
- <head>
- <title>LOGIN FOR PRODUCT MANAGEMENT</title>
- <link href="style.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <div id="contact">
- <form id="myForm1" action="profile.php" method="post">
- <div style="margin-left:180px;color:#445668">
- <h3>LOGIN</h3></div>
- <p>
- <div style="margin-left:10px;margin-top:10px;">
- <label for="username">Email</label>
- </div>
- <div style="margin-top:10px;">
- <input type="email" id="username" name="username" placeholder="Enter your username"/>
- </div>
- <div style="margin-left:10px;margin-top:10px;">
- <label for="password">Password</label></div>
- <div style="margin-top:10px;">
- <input type="password" id="password" name="password" placeholder="Enter your password"/>
- </div>
- <div style="margin-top:20px;margin-left:-30px;width: 185px;text-align: right; font-size: 12px; color: #445668;
- text-transform: uppercase; text-shadow: 0px 1px 0px #f2f2f2;"><a href="forgotpass.php" style="text-decoration:none;">Forgot Password?</label></a>
- <div style="margin-left:440px;margin-top:-20px;"><input type="submit" name="Submit" value="Send "/></div>
- </p>
- </form>
- </div>
- <?php
- $temp=$_SESSION['username'];
- echo "$temp";
- if (isset($_POST['Submit'])) {
- $_SESSION['username'] = $_POST['username'];
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement