file :<input type=text>pwd:<input type=password name='csdn' valuetype=text>
<input type=button value=enter onclick="if(csdn.value='csdn') window.open('http://www.csdn.net')">

解决方案 »

  1.   

    <SCRIPT language=javascript> "
    y1 = inputbox("请输入你的用户名:","") 
    y2 = inputbox("请输入你的密码:","") 
    if(yi=="user" && y2=="passwd"){
    alter="用户名/密码错误!";
    window.location.replace("javascript:history.back()");
    }

     
     </SCRIPT>
      

  2.   

    还是修改IIS 取消匿名访问来得切实点~~ 呵呵
      

  3.   

    不用脚本的方法
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>OpenAWindow</title>
    </head><body>
    <form method="POST" action="OpenFileName.asp" target="_blank">
      文件名:<input type="file" name="UserName" size="20"><br>
      密 码:<input type="password" name="Password" size="20"><br>
      <input type="submit" value="登录">
    </form>
    </body>
    </html>
      

  4.   

    请问gogocad(吃吃),怎样建立数据库呢?