Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://phpmysql-academy.blogspot.in/
- Example: 1
- connection.php
- Example: 2
- member.php
- <?php
- session_start();
- if($_SESSION['username'])
- echo "Welcome, " .$_SESSION['username']."!<br><a href='logout.php'>Logout</a><br> ";
- else
- die ("You must be logged in!");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment