%> <form action="file.asp?action=saveupload" method="post" enctype="multipart/form-data" name="form2"> <div align="center">有待完成 <input type="file" name="file" style="width:80%"> <input type="submit" name="Submit" value="提交"> </div> </form> <% end function function saveupload() '有待实现 end function '登陆 function chklogin() password=request.Form("password") if password="ok" then session("login")="login" if session("login")<>"login" then login end function function login() %> <form name="form1" method="post" action="<%= url%>?action=chklogin"> <center>请输入密码:<input name="password" type="password"><input type="submit" name="Submit" value="登陆"></center> </form> <% response.End() end function function logout() session.Abandon() response.Redirect(url) end function %> |