⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upfile1.asp

📁 21世纪人才www.51zy.net 网站源码
💻 ASP
字号:
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if%>
<html><head><title>上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/admin.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="upload1.asp" enctype="multipart/form-data" >
<input type="hidden" name="act" value="upload">
<table class="tableBorder" width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr> 
<td colspan="4" align="center" background="../images/admin_bg_1.gif"><b><font color="#ffffff">文件上传</font></b></td>
</tr>
<tr> 
<td height="100" bgcolor="#E8F1FF"> 
<script language="javascript">
	  function setid()
	  {
	  str='<br>';
	  if(!window.form1.upcount.value)
	   window.form1.upcount.value=1;
 	  for(i=1;i<=window.form1.upcount.value;i++)
	     str+='文件'+i+':<input type="file" name="file'+i+'" style="width:400" class="tx1"><br><br>';
	  window.upid.innerHTML=str+'<br>';
	  }
</script>
<li> 需要上传的文件个数 
<input type="text" name="upcount" value="1" size="10">
<input type="button" name="Button" onClick="setid();" value="设 定">
</li>
<li>上传到: 
<input type="text" name="filepath" size="40" value="<%=Request.QueryString("Path")%>">
</li>
</td>
</tr>
<tr> 
<td id="upid" bgcolor="#E8F1FF"> 
<li>文件1: 
<input type="file" name="file1" size="40" value="">
</li>
</td>
</tr>
<tr align="center" valign="middle" > 
<td height="24" width="540" bgcolor="#E8F1FF"> 
<input type="submit" name="Submit" value="提 交" class="bt">
<input type="reset" name="Submit2" value="重 执" class="bt">
</td>
</tr>
</table>
</form>
<script language="javascript">
setid();
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -