Advertisement
btandel

session check

Nov 24th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. <?php
  2. session_start();
  3. if(!session_is_registered(myusername)){
  4. header("location:index.php");
  5. }
  6. ?>
  7.  
  8. <html>
  9. <body>
  10. Login Successful
  11. </body>
  12. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement