Advertisement
Guest User

Untitled

a guest
Feb 29th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?
  2. $username = $_POST["user"];
  3. $password = $_POST["password"];
  4. if ($username === "" or $password==="") {
  5. echo "Bạn chưa nhập tài khoản hoặc mật khẩu";
  6. }
  7. else{
  8. if ($username==="minhgato"){
  9. if($password==="gun456") {
  10. echo "Xin chào,Minh";
  11.  
  12. }
  13. }
  14.  
  15. else{
  16. echo "Tài khoản hoặc mật khẩu không chính xác";
  17.  
  18. }
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement