asp.net fileupload文件上传代码
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>
补充:asp.net教程,.Net开发