Nerviie

VALIDA

May 14th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.15 KB | None | 0 0
  1. <?php
  2. if(!empty($_SESSION["nid"])){
  3.     if ($_SESSION["nid"]!=session_id())  //Não ESTÁ LOGADO
  4.     {
  5.         die();
  6.     }
  7. }
  8. else
  9.     $_SESSION["nid"]=" ";
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment