Advertisement
omarrashid

newcodes

Dec 18th, 2014
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.14 KB | None | 0 0
  1. <?php
  2. session_start();
  3. ?>
  4.  
  5. <?php
  6. if(!empty($_SESSION))
  7. echo $_SESSION['sess_username'];
  8. else header ("Location: errorPage.html");
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement