Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="wrapper">
- <h2>Logga in</h2>
- </div>
- <?php
- if(!isset($_SESSION['uid'])) {
- echo "<form action='login_parse.php' method='post'>
- Username: <input type='text' name='username' />
- Password: <input type='password' name='password' />
- <input type='submit' name='submit' value='Log in' />";}
- else {
- echo "<p> Du är inloggad som ".$_SESSION['username']. "&bull:
- <a href='logout_parse.php'>Logout</a>";
- }
- ?>
Add Comment
Please, Sign In to add comment