Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. if ($_SERVER["PHP_SELF"] == "/index.php") // PROFILE PAGE
  2. {
  3. if (!isset($_SESSION['userid']))
  4. { echo "<script type='text/javascript'>window.top.location.href='user_login.php';</script>"; exit; }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement