upload.asp
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:1k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <!--#include file="checkpost.asp"-->
- <!--#include file="security.asp"-->
- <!--#include file="articleconn.asp"-->
- <%if session("flag")>1 then
- response.write "<script>alert('您的操作权限不够!');history.back();</script>"
- response.end
- end if
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <SCRIPT language=javascript>
- function check()
- {
- var strFileName=document.form1.FileName.value;
- if (strFileName=="")
- {
- alert("请选择要上传的文件");
- document.form1.FileName.focus();
- return false;
- }
- }
- </SCRIPT>
- <style type="text/css">
- <!--
- body {
- background-color: #e1f4ee;
- }
- -->
- </style></head>
- <body leftmargin="0" topmargin="0">
- <form action="upfile.asp" method="post" name="form1" onSubmit="return check()" enctype="multipart/form-data">
- <input name="FileName" type="FILE" class="tx1" size="28" style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px">
- <input type="submit" name="Submit" style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px" value="上传"">
- </form>
- </body>
- </html>