⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upload.asp

📁 FLASH吧网站源码 v2.0栏目版: 功能不是很强大
💻 ASP
字号:
<!--#include file="validate.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>上传文件</title>
<script language="javascript">
function CallBar(form){
	strAppVersion = navigator.appVersion;
  	if (form.file.value != "" ){
    	if (strAppVersion.indexOf('MSIE') != -1 && strAppVersion.substr(strAppVersion.indexOf('MSIE')+5,1) > 4){
      		winstyle = "dialogWidth=500px; dialogHeight:150px; center:yes";
      		window.showModelessDialog('uploadbar.asp?b=IE',null,winstyle);
    		}
    	else{
      		Param = "SCROLLBARS=no,RESIZABLE=no, TOOLBAR=no,STATUS=no,MENUBAR=no,WIDTH=500,HEIGHT=100"; 
			Param += ",TOP=" + String(window.screen.Height/2 - 50); 
			Param += ",LEFT=" + String(window.screen.Width/2 - 200); 
			window.open("uploadbar.asp?b=NN", null, Param); 
			//window.open('uploadbar.asp?b=NN','','width=400,height=120', true);
    	}
		return true;
  	} else {
		alert('选择您要上传的文件!');
		return false;
	}
}
</script>
<style type="text/css">
<!--
body {
	margin-top: 0px;
	margin-left: 0px;
}
-->
</style></head>

<body>
<form action="upfile.asp" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CallBar(this);">
  <tr>
    <td width="17%" height="25"><input type="file" name="file" style="width:200" value="" style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px">
      <input type="submit" name="Submit" style="BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px" value="上传""></td>
    </tr>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -