代码:<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
  $logn=$_GET['login'];
  if($logn==1)  $title="进入购书卡专区————请先输入ID及密码";
  elseif($logn==2)  $title="修改个人资料————请先输入ID及密码";
  elseif($logn==3)  $title="密码查询————请先输入ID";
  elseif($logn==4)  $title="站长登录————请先输入管理员账号及密码";
  include_once("memhead.php");
?>
<script language="javascript" type="text/javascript">
   function pdsr(){
   var id=window.frm.userid.value;
   var pds=window.frm.password.value;
   if(id==""){
   window.alert("会员ID不能为空");
   window.frm.username.focus();
   }
   else if(pds==""){
   window.alert("密码不能为空");
   window.frm.password.focus();
   }
   }
</script>
<link href="CSS/member.css" rel="stylesheet" type="text/css">   <div id="bd">
   
   <form name="frm" action="check.php?logn=<?php echo $logn; ?>" method="post">
      <table width="100%" border="0" cellspacing="0" class="td1">
         <tr><td width="30%" align="right">输入会员ID</td><td><input type="text" name="userid" size="30" /></td></tr>
         <?php if($logn!=3) { ?>
         <tr><td align="right">输入会员密码</td><td><input type="password" name="password" size="20" /></td></tr>
         <?php } ?>
         <tr><td align="center" colspan="2"><input type="submit" name="send" value="登录" onMouseDown="pdsr()"><input type="reset" value="重新输入"></td></tr>
      </table>
   </form>
   
   </div>
   <hr/>
   <iframe scrolling="no" width="780" height="60" src="membottom.html" marginwidth="0" marginheight="0" frameborder="0" align="middle">不支持</iframe>
   </div>
  </body>
</html>
错误提示:Notice: Undefined index: login in F:\xampp\htdocs\wuya\member\login.php on line 3