Advertisement
gulnyr

Untitled

May 25th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. if(empty($login && $password)) {
  2. header('Location: ./index.php?msg_err=Данные пустые');
  3. die;
  4. } elseif (empty($password)) {
  5. header('Location: ./index.php?msg_err=Пароль пуст');
  6. die;
  7. } elseif(empty($login)) {
  8. header('Location: ./index.php?msg_err=Логин пуст');
  9. die;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement