Home  >  Article  >  Backend Development  >  新手求指教

新手求指教

WBOY
WBOYOriginal
2016-06-23 14:10:44835browse


a1
"


用户名:

密   码:

验证码:1234





a2
header('Content-Type:text/html;charset=gbk');
if (!isset($_POST['send'])||$_POST['send']!='提交'){
header('Location:a1.php');
exit;
}
?>



为什么他不会跳转呢?



回复讨论(解决方案)

为什么会跳转呢?
你有 
那么只要是从 a1 提交过来的,就一定有 $_POST['send']

"
把上边这段删掉,就可以了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn