?? upload.asp
字號:
<!--#include file="Config.asp"-->
<%
if session("POPAdmin")="" then
response.Redirect("../Error.asp")
elseif session("POPLimits")<>1 then
response.Redirect("../Error.asp")
else
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
BODY{
font-size:12px;
background-color: #F1F3F5;
}
.tx1 { height: 20px;font-size: 12px; border: 1px solid; border-color: #000000; color: #0000FF}
-->
</style>
<SCRIPT language=javascript>
function check_file()
{
var strFileName=form1.FileName.value;
var range = parent.HtmlEdit.document.selection.createRange();
if (strFileName=="")
{
alert("請選擇要上傳的文件");
return false;
}
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0">
<form action="Upfile.asp" method="post" name="form1" onSubmit="return check_file()" enctype="multipart/form-data">
<input name="FileName" type="FILE" class="tx1" size="22">
<input type="submit" name="Submit" value="上傳" style="border:1px double rgb(88,88,88);font:12px">
</form>
</body>
</html>
<%end if%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -