📄 up.htm
字号:
<html>
<head>
<title>52515.net上传程序</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body,td,th {
font-size: 14px;
}
INPUT {
BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px
}
.style1 {
color: #FFFFFF;
font-weight: bold;
font-family: "隶书";
font-size: 18px;
}
-->
</style>
</head>
<body>
<form id="Form1" name="form" action="savetofile.asp" method="post" encType="multipart/form-data">
<div align="center">
<script language="javascript">
function setid()
{
str='<br>';
if(!window.form.upcount.value)
window.form.upcount.value=1;
for(i=1;i<=window.form.upcount.value;i++)
str+='文件'+i+':<input type="file" name="file'+i+'" style="width:150" > 另存为<input type="text" name="file'+i+'" style="width:100"><br>';
window.upid.innerHTML=str+'<br>';
}
</script>
<table height="116" border="1" cellpadding="0" cellspacing="0" bordercolor="#003399" bgcolor="#FFFFFF" id="Table1" style="border-collapse: collapse">
<tr>
<td height="29" bgcolor="#0066CC"><div align="center" class="style1">文件上传</div></td>
</tr>
<tr>
<td><div align="left">上传的个数:
<input id="Text1" type="text" size="5" value="1" name="upcount">
<input id="Button1" onclick="setid();" type="button" value="设定" name="Button"></div></td>
</tr>
<tr>
<td align="left" id="upid" >文件1:
<input id="File1" style="WIDTH: 150px" type="file" name="file"> 另存为:
<input id="Text3" style="WIDTH: 100px" type="text" name="file"></td>
</tr>
<tr>
<td><div align="center"><input id="Submit1" type="submit" value="提交" name="Submit"> <input id="Reset2" type="reset" value="重置" name="Reset">
<a href="index.asp">查看图片
</a><a href="admin.asp">管理图片</a></div></td>
</tr>
</table>
<p> </p>
<p><a href="http://www.52515.net" target="_blank">copyright© 52515.net</a></p>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -