upload_flash.asp
来自「这是一个关于汽车销售集团的网站」· ASP 代码 · 共 66 行
ASP
66 行
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
if request("tupianjianjie")<>"" then
pic=request("tupianjianjie")
fol=server.MapPath(pic)
set fso=server.CreateObject("scripting.filesystemobject")
if fso.FileExists(fol) then
set fs=fso.getfile(fol)
fs.delete
end if
end if
uppath=request("uppath")&"/"
formName=request("formName")
EditName=request("EditName")
%>
<html><style type="text/css">
<!--
body {
background-color: #E8F1FF;
}
body,td,th {
font-size: 12px;
}
-->
</style><head><title>图片上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
<!--
function mysub()
{
esave.style.visibility="visible";
}
-->
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<form name="form1" method="post" action="upfile_flash.asp" enctype="multipart/form-data" >
<div id="esave" style="position:absolute; top:18px; left:40px; z-index:10;" style="display:none ">
<TABLE WIDTH=340 BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR><td width=20%></td>
<TD bgcolor=#ff0000 width="60%">
<TABLE WIDTH=100% height=120 BORDER=0 CELLSPACING=1 CELLPADDING=0>
<TR>
<td bgcolor=#ffffff align=center><font color=red class="fo">上传文件...</font></td>
</tr>
</table>
</td><td width=20%></td>
</tr></table></div>
<table class="tableBorder" width="95%" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr bgcolor="#E8F1FF">
<td align="center" id="upid" height="80">
<input type="hidden" name="filepath" value="<%=uppath%>">
<input type="hidden" name="EditName" value="<%=EditName%>">
<input type="hidden" name="FormName" value="<%=formName%>">
<input type="hidden" name="act" value="uploadfile">
<span class="fo">选择文件:</span>
<input type="file" name="file1" size="40" value=""> <input type="submit" name="Submit" value="开始上传" onclick="javascript:mysub()"></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?