Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_SESSION['username'])) {
- echo"Welcome ".$_SESSION['username'];
- } else {
- echo"<div class=\"textLeft\"> Please login to continue.. <br>
- </div>";
- echo"<form action\"./inc/login.php\ method\"POST\">";
- echo"Username: <input type\"text\" name\"username\">";
- echo"Password: <input type\"password\" name=\"password\">";
- echo"<input type=\"submit\"> </form>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement