upload_1.asp
来自「本实例为一个完整的网上购物商城的完整例子程序,里面有所以的源代码.希望对大家学习」· ASP 代码 · 共 42 行
ASP
42 行
<!--#include file="conn.asp"-->
<%
if session("admin_name")="" then
response.redirect "error.asp?error=001"
end if
%>
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title></title>
<style>
td
{
font-size:9pt; line-height:160%
}
body
{
font-size:9pt; line-height:160%
}
a:link
{
color: #0033CC; text-decoration: none
}
a:visited
{
color: #0033CC; text-decoration: none
}
a:hover
{
color: #000000; text-decoration: underline
}
</style>
</head>
<body leftmargin="0" topmargin="0" bgcolor="#F9F9F9">
<form name="form" method="post" action="upload.asp" enctype="multipart/form-data" >
<input type="hidden" name="filepath" value="../pic/" size="20">
<input type="hidden" name="act" value="upload">文件位置:<input type="file" name="file" size="20">
<input type="submit" name="Submit" value="上传"> <font color="#808080">
上传后所有文件都将命名为***.gif</font></form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?