HTML Îļþ´«ÊäÒ³Ãæ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta NAME="Copyright" CONTENT="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>É豸¹ÜÀí</title>
<link href="images/basic.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" >
function myjudge()
{
var keystr = "update.tar.gz"
var str = document.getElementById("updatefile").value;
var len = str.length;
var thesubstring = str.substring(len-13,len);
if(thesubstring == keystr)
{
Update.action="cgi-bin/update.cgi";
Update.submit();
}
else
{
alert("Éý¼¶ÎļþÎÞЧ!");
return false;
}
}
</script>
</head>
<body id="sysdevmng">
<table height="80" border="0"><tr><td></td></tr></table>
<table width="30%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr><td height="30" align="left" valign="middle">
<h3 class="STYLE5" ><font color="#000000">µ¼ÈëÉý¼¶Îļþ</font></h3>
</td></tr>
<tr><td>
<form action="cgi-bin/update.cgi" method="post" name="Update" enctype="multipart/form-data">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="table_style">
<tr>
<td width="91%"><div align="left">
<input type="file" class="btn" name="file" id="updatefile"/>
<font color=red></font></div>
<div id="newPreview"></div></td>
<td></td>
</tr>
<tr>
<td>
<br>
<div align="left">
<input type="reset" name="Reset" class="b
Ïà¹ØÎĵµ£º
htmlÖ÷Ìå±êÇ©(body)µÄÊôÐÔ
ÔÚ<body>ºÍ</body>ÖзÅÖõÄÊÇÒ³ÃæÖÐËùÓеÄÄÚÈÝ£¬ÈçͼƬ¡¢ÎÄ×Ö¡¢±í¸ñ¡¢±íµ¥¡¢³¬Á´½ÓµÈÉèÖᣠ<body>±êÇ©ÓÐ×Ô¼ºµÄÊôÐÔ£¬ÉèÖà <body>±êÇ©ÄÚµÄÊôÐÔ£¬¿É¿ØÖÆÕû¸öÒ³ÃæµÄÏÔʾ·½Ê½¡£
<body>±êÇ©µÄÊôÐÔ
Êô¡¡ÐÔ
Ãè¡¡¡¡Êö
link
Éè¶¨Ò ......
£¼html£¾
£¼head£¾
£¼title£¾±êÌ⣼title£¾
£¼/head£¾
£¼body£¾..........ÎļþÄÚÈÝ..........
£¼/body£¾
£¼/html£¾
1.Îļþ±êÌâ
£¼title£¾..........£¼/title£¾
2.Îļþ¸üÐÂ--£¼meta£¾
¡¾1¡¿10Ãëºó×Ô¶¯¸üÐÂÒ»´Î
£¼meta http-equiv="refresh" content=10£¾
¡¾2¡¿10Ãëºó×Ô¶¯Á¬½áµ½ÁíÒ»Îļþ
£¼meta http-equiv="ref ......
metaÊÇÓÃÀ´ÔÚHTMLÎĵµÖÐÄ£ÄâHTTPÐÒéµÄÏìӦͷ±¨ÎÄ¡£meta
±êÇ©ÓÃÓÚÍøÒ³µÄ<head>Óë</head>ÖУ¬meta ±êÇ©µÄÓô¦ºÜ¶à¡£meta
µÄÊôÐÔÓÐÁ½ÖÖ£ºnameºÍhttp-equiv¡£nameÊôÐÔÖ÷ÒªÓÃÓÚÃèÊöÍøÒ³£¬¶ÔÓ¦ÓÚcontent£¨ÍøÒ³ÄÚÈÝ£©£¬ÒÔ±ãÓÚËÑË÷ÒýÇæ»úÆ÷È˲éÕÒ¡¢·ÖÀࣨĿ
Ç°¼¸ºõËùÓеÄËÑË÷ÒýÇ涼ʹÓÃÍøÉÏ»úÆ÷ÈË×Ô¶¯²éÕ ......
´Ë´¦Ç¶ÈëµÄflashÀïÃæµÄͼƬÊÇ¿ÉÒÔËæʱ·¢Éú¸Ä±äµÄͼƬ£¨¶¯Ì¬Í¼Æ¬£©
×¢ÒâÀ¶É«×ÖÌåµÄµØ·½£¬ÕâЩµØ·½¶¼ÒªÍ³Ò»
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="${ctx}/ui/Login/AC_RunActiveContent.js"
language="javascript"></script& ......
1. web.config
<connectionStrings>
<add name ="myconn" connectionString="Data Source=who\SQLEXPRESS; Initial Catalog=dbname;Integrated Security=True;" providerName="System.Data.SqlClient"/>
</connectionStrings>
2.
string htmlPath = "D:\\htmlFiles";
......