📄 upload.asp
字号:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="style.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<%
set rs=server.CreateObject("ADODB.RecordSet")
if request("boardid")<>"" then
sql="select tablebodycolor from board where boardid="&Request("boardid")
rs.open sql,conn,1,1
if not rs.eof then
tablebodycolor=rs("tablebodycolor")
end if
rs.close
end if
%>
</head>
<body bgcolor="<%=tablebodycolor%>" text="#000000" leftmargin="0" topmargin="2">
<form name="form1" method="post" action="upfile.asp?boardid=<%=Request("boardid")%>" enctype="multipart/form-data" >
<div align="center">
<input type="hidden" name="act" value="upload">
<input type="hidden" name="filepath" value="uploadimage/">
<input type="file" name="file1">
<input type="submit" name="Submit" value="上传图片">
类型:gif,jpg,bmp, 限制:100K </div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -