热搜:NVER node 开发 php

新手求指教

2024-09-12 21:50:01
新手求指教


a1
"


用户名:

密   码:

验证码:1234





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



为什么他不会跳转呢?



回复讨论(解决方案)

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

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