a1
<meta http-equiv="Content-Type" content="text/html;charset=gbk>"
<form method="post" action="a2.php">
用户名:<input type="text" name="username"/><br/>
密&nbsp;&nbsp;&nbsp;码:<input type="password" name="password"/><br/>
验证码:<input type="text" name="code" size="5"/>1234<br/>
<input type="submit" value="提交" name="send"/>
</form>
a2
<?php
header('Content-Type:text/html;charset=gbk');
if (!isset($_POST['send'])||$_POST['send']!='提交'){
header('Location:a1.php');
exit;
}
?>为什么他不会跳转呢?