Why doesn't it jump when I enter refresh? Ask God for advice!
 
  2017-11-20 15:07:04
0
1
1539

<?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 '用户名密码不能为空';

exit;

}

}else{

include_once 'templates/login.html';

}

?>


 
 

reply all(1)
 

I found the problem, it is that the PHP variables are not case sensitive

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template