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
Éè¶¨Ò ......
¿çÐкϲ¢£ºrowspan, ¿çÁкϲ¢£º colspan.
<table border=2 width="50%">
<tr>
<td rowspan=2> Ì쳯 </td>
<td> Party </td>
</tr>
<tr><td>ºÓз</td></tr>
</table>
<table border=2 width="50%">
<tr&g ......
HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP£º
header("Expires: Mon, 26 Jul 1997 ......
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";
......