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