>  Q&A  >  본문

새로고침을 입력해도 점프하지 않는 이유는 무엇입니까? 하나님께 조언을 구하십시오!

<?php

header('content-type:text/html;charset=utf-8');

if(isset($_post['submit'])){

$username = $_post['username'];

$password = $_post['password'];

if(empty($username)||empty($password)){

header('Refresh:3 ;url=login.php');

echo '用户name密码不能为空';

exit;

}

}else{

include_once 'templates/login.html';

}

?>


  2524일 전1487

모든 응답(1)나는 대답할 것이다

  •  

     2017-11-20 15:16:16

    문제를 발견했습니다. PHP 변수가 대소문자를 구분하지 않는다는 것입니다

    회신하다
    0
  • 취소회신하다