Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( isset($_SESSION['active']) )
- {
- $username = $_SESSION['username'];
- }
- else
- {
- $username = 'Anonymous';
- }
- ?>
- <html>
- <body>
- <h1>Welcome <?php echo $username;?></h1>
- <p>Rawr!</p>
- </body>
- </html>
Add Comment
Please, Sign In to add comment