asp.net fileupload檔案上傳代碼

來源:互聯網
上載者:User

asp教程.net fileupload檔案上傳代碼
<html lang="en">

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css教程" href="history/history.css" />

<title></title>
<script src="ac_oetags.網頁特效" language="網頁特效"></script>

<!-- begin browser history required section -->
<!-- end browser history required section -->

<style>
body { margin: 0px; overflow:hidden }
</style>
<script language="網頁特效" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// globals
// major version of flash required
var requiredmajorversion = 9;
// minor version of flash required
var requiredminorversion = 0;
// minor version of flash required
var requiredrevision = 124;
// -----------------------------------------------------------------------------
// -->
</script>
</head>

<body scroll="no">
<script language="javascript" type="text/javascript">
<!--
// version check for the flash player that has the ability to start player product install (6.0r65)
var hasproductinstall = detectflashver(6, 0, 65);

// version check based upon the values defined in globals
var hasrequestedversion = detectflashver(requiredmajorversion, requiredminorversion, requiredrevision);

if ( hasproductinstall && !hasrequestedversion ) {
// do not modify the following four lines
// location visited after installation is complete if installation is required
var mmplayertype = (isie == true) ? "activex" : "plugin";
var mmredirecturl = window.location;
  document.title = document.title.slice(0, 47) + " - flash player installation";
  var mmdoctitle = document.title;

ac_fl_runcontent(
"src", "playerproductinstall",
"flashvars", "mmredirecturl="+mmredirecturl+'&mmplayertype='+mmplayertype+'&mmdoctitle='+mmdoctitle+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "fileupload",
"quality", "high",
"bgcolor", "#869ca7",
"name", "fileupload",
"allowscriptaccess","samedomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else if (hasrequestedversion) {
// if we've detected an acceptable version
// embed the flash content swf when all tests are passed
ac_fl_runcontent(
"src", "fileupload",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "fileupload",
"quality", "high",
"bgcolor", "#869ca7",
"name", "fileupload",
"allowscriptaccess","samedomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
  } else { // flash is too old or we can't detect the plugin
  var alternatecontent = 'alternate html content should be placed here. '
  + 'this content requires the adobe flash player. '
  + '<a href=http://www.adobe.com/go/getflash/>get flash</a>';
  document.write(alternatecontent); // insert non-flash content
  }
// -->
</script>
<noscript>
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
id="fileupload" width="100%" height="100%"
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="fileupload.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#869ca7" />
<param name="allowscriptaccess" value="samedomain" />
<embed src="fileupload.swf" quality="high" bgcolor="#869ca7"
width="100%" height="100%" name="fileupload" align="middle"
play="true"
loop="false"
quality="hight"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>
</noscript>
</body>
</html>

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.