📄 upload_pic.asp
字号:
<HTML>
<HEAD>
<TITLE>上传图片</TITLE>
<META content=zh-cn http-equiv=Content-Language>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<% response.buffer=true %>
<%
const page_level=1
%>
<style type="text/css">
td {font-size: 9pt}
body {font-size: 9pt}
button {width:5em}
</style>
</HEAD>
<BODY bgColor=#f6f6f6 leftMargin=0 topMargin=0>
<table border=0 cellpadding=0 cellspacing=0 height=120
width=100% >
<tr>
<td rowspan=4 width=100% align="center">
<form name="form1" method="post" action="upload2_pic.asp" enctype="multipart/form-data"
onsubmit='return check();'
>
<script>
function check()
{
var mf=document.form1;
if (mf.image.value.length<4)
{
alert("请选择需要上传的图片.");
mf.image.focus();
return false;
}
return true;
}
</script>
<table width="269" border="0" cellspacing="2" cellpadding="2">
<tr align="center">
<th colspan="2">图片上传</th>
</tr>
<tr>
<td>请选择上传图片</td>
<td>
<input type="file" name="image" style='width:150'>
</td>
</tr>
<tr>
<td>点击放大的图片</td>
<td>
<input type="file" name="bigimage" style='width:150'>
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="提交" name="Submit">
<input type="reset" value="重置">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<table border=0 cellpadding=0 cellspacing=0 height=32 width="100%">
<tbody>
<tr height=2>
<td bgcolor=#cccccc colspan=2><img alt="" height=2 src="" width=1></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -