exitUser(); if (empty($needclose)) { header('location:index.php'); } else { $msg = ""; echo $msg; }