<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[海水的Blog]]></title> 
<link>http://www.haishui.net/blog/index.php</link> 
<description><![CDATA[海水的Blog]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[海水的Blog]]></copyright>
<item>
<link>http://www.haishui.net/blog/read.php?267</link>
<title><![CDATA[一段时间不会再有更新]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[网络日记]]></category>
<pubDate>Mon, 29 Sep 2008 07:24:53 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?267</guid> 
<description>
<![CDATA[ 
	由于特殊情况，一段时间不会再有更新。<br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=%25E7%2594%259F%25E6%25B4%25BB" rel="tag">生活</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?266</link>
<title><![CDATA[常见英文简写，根据自己所用，不断更新]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[网络日记]]></category>
<pubDate>Wed, 11 Jun 2008 11:56:11 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?266</guid> 
<description>
<![CDATA[ 
	<strong>DOM</strong>：document object model&nbsp;&nbsp;&nbsp;&nbsp;文档对象模型：是指用来呈现WEB文档的一组标准化对象集的运用。<br/><strong>W3C</strong>：world wide web consortium&nbsp;&nbsp;万维网联盟<br/><strong>HTML</strong>：hypertext markup language 超文本标记语言<br/><strong>WWW</strong>：world wide web 万维网<br/><strong>URL：</strong>uniform resource locator 统一资源定位符<br/><strong>SE：</strong>software engineering 软件工程<br/><strong>SOA</strong>：service-oriented architecture 面向服务的体系结构
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?264</link>
<title><![CDATA[表格:国内网站 WebServer 和所用 Cache 类型统计]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[网络日记]]></category>
<pubDate>Tue, 27 May 2008 14:55:10 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?264</guid> 
<description>
<![CDATA[ 
	综合类，从结果上来看 Apache 还是主流：<br /><br /><p><table border="0" cellspacing="0" cellpadding="0" width="469" style="width: 352pt; border-collapse: collapse"><tbody><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; background: black 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Site</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 126pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>WebServer</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 119pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Cache</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.baidu.com" target="_blank">www.baidu.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">BWS/1.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.qq.com" target="_blank">www.qq.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">squid/2.6.STABLE5</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.sina.com.cn" target="_blank">www.sina.com.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache/2.0.54 (Unix)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="36" style="height: 27pt"><td height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.sohu.com" target="_blank">www.sohu.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache/1.3.37 (Unix) mod_gzip/1.3.26.1a</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">squid</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.163.com" target="_blank">www.163.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache/2.2.6 (Unix)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.taobao.com" target="_blank">www.taobao.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.google.cn" target="_blank">www.google.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">gws</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.tom.com" target="_blank">www.tom.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">NetCache NetApp/6.1.1D4</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.soso.com" target="_blank">www.soso.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.youku.com" target="_blank">www.youku.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.xunlei.com" target="_blank">www.xunlei.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache/2.2.8 (Unix)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.eastmoney.com" target="_blank">www.eastmoney.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Microsoft-IIS/6.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.56.com" target="_blank">www.56.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">nginx/0.5.33</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">squid/2.6.STABLE12-20070426</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.6.cn" target="_blank">www.6.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">nginx/0.6.14</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">squid/3.0.STABLE1.dev</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.51.com" target="_blank">www.51.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.yahoo.cn" target="_blank">www.yahoo.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">4EWS</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.poco.cn" target="_blank">www.poco.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.sogou.com" target="_blank">www.sogou.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache/2.0.61 (Unix)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Resin/3.0.24</td></tr></tbody></table><br /></p><p><br />博客类：</p><table border="0" cellspacing="0" cellpadding="0" width="469" style="width: 352pt; border-collapse: collapse"><tbody><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; background: black 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Site</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 126pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>WebServer</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 119pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Cache</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">blog.sina.com.cn</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">nginx/0.5.35</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none">hi.baidu.com</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">apache 1.1.23.2</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">qzone.qq.com</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none">blog.sohu.com</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">squid</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.bokee.com" target="_blank">www.bokee.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache/1.3.31 (Unix) mod_gzip/1.3.26.1a</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.blogcn.com" target="_blank">www.blogcn.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Microsoft-IIS/6.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Cdn Cache Server V2.0</td></tr></tbody></table><p>社区类，这里面相当大的比例用了 M$ IIS，奇怪：</p><table border="0" cellspacing="0" cellpadding="0" width="469" style="width: 352pt; border-collapse: collapse"><tbody><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; background: black 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Site</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 126pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>WebServer</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 119pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Cache</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.mop.com" target="_blank">www.mop.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">lighttpd</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.cyworld.com.cn" target="_blank">www.cyworld.com.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">bbs.qq.com</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.tianyaclub.com" target="_blank">www.tianyaclub.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Microsoft-IIS/5.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">bbs.csdn.net</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Microsoft-IIS/6.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Longrujun?</td></tr><tr height="36" style="height: 27pt"><td class="xl65" width="142" height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none">club.xilu.com</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache/2.2.0 (Unix) PHP/5.2.1</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.tiexue.net" target="_blank">www.tiexue.net</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Microsoft-IIS/6.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.xici.net" target="_blank">www.xici.net</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Microsoft-IIS/6.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">bbs.sina.com.cn</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache/2.0.54 (Unix)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">N/A</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.newsmth.net" target="_blank">www.newsmth.net</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">nginx/0.5.35</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">squid/3.0.STABLE1</td></tr></tbody></table><p>视频类，之所以选择这个类别，是因为视频类对前端要求数据量和流量特别大，连接数特别多，这些特征也能反映出一些问题。从结果看也普遍采用了比较轻快的 lighttpd 或 nginx，另外用&nbsp;squid 或 cdn 之类做 cache：</p><table border="0" cellspacing="0" cellpadding="0" width="469" style="width: 352pt; border-collapse: collapse"><tbody><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; background: black 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; height: 13.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Site</td><td class="xl65" width="168" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 126pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>WebServer</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; border-top: black 1pt solid; font-weight: 700; font-size: 11pt; border-left-color: #ece9d8; background: black 0% 50%; width: 119pt; color: white; border-bottom: black 1pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span>&nbsp;</span>Cache</td></tr><tr height="36" style="height: 27pt"><td height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.6.cn" target="_blank">www.6.cn</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">nginx/0.6.14(网页)<br />nginx/0.6.14(视频)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">squid/3.0.STABLE1.dev(网页)</td></tr><tr height="36" style="height: 27pt"><td height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.youku.com" target="_blank">www.youku.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache(网页)<br />lighttpd(视频)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr><tr height="54" style="height: 40.5pt"><td height="54" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 40.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.56.com" target="_blank">www.56.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">nginx/0.5.33(网页)<br />56.com flv server(视频)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">squid/2.6.STABLE12-20070426(网页)</td></tr><tr height="36" style="height: 27pt"><td height="36" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 27pt; background-color: transparent; text-decoration: none"><a href="http://www.ku6.com" target="_blank">www.ku6.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Apache(网页)<br />nginx/0.5.35(视频)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">CDN(视频)</td></tr><tr height="54" style="height: 40.5pt"><td class="xl65" width="142" height="54" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; background: #d8d8d8 0% 50%; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 40.5pt; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><a href="http://www.tudou.com" target="_blank">www.tudou.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">Apache(网页)<br />Cdn Cache Server V2.0(视频)</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; background: #d8d8d8 0% 50%; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; text-decoration: none; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">chinanetcenter.com(视频)</td></tr><tr height="18" style="height: 13.5pt"><td class="xl65" width="142" height="18" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left: black 0.5pt solid; width: 107pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; height: 13.5pt; background-color: transparent; text-decoration: none"><a href="http://www.pomoho.com" target="_blank">www.pomoho.com</a></td><td class="xl65" width="168" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 126pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">Microsoft-IIS/5.0</td><td class="xl65" width="159" style="border-right: black 0.5pt solid; font-weight: 400; font-size: 11pt; border-left-color: #ece9d8; width: 119pt; color: black; border-top-color: #ece9d8; border-bottom: black 0.5pt solid; font-family: 宋体; background-color: transparent; text-decoration: none">N/A</td></tr></tbody></table><p>&ndash;THE END&ndash;</p><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=%25E4%25BA%2592%25E8%2581%2594%25E7%25BD%2591" rel="tag">互联网</a> , <a href="http://www.haishui.net/blog/tag.php?tag=%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8" rel="tag">服务器</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?263</link>
<title><![CDATA[网站整页变灰暗的CSS代码]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Mon, 19 May 2008 14:46:03 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?263</guid> 
<description>
<![CDATA[ 
	<br/><div class="code">html&#123;filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);&#125;&nbsp;&nbsp;</div><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=css" rel="tag">css</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?262</link>
<title><![CDATA[SQL语句中的AS关键字]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Fri, 04 Apr 2008 11:38:57 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?262</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;在SQL语句中我们可以使用AS关键字将一个查询返回结果集的列重命名，为什么说列，而不说字段呢？因为我们的SQL语句可以进行一些运算，那么得到的结果集就有一些可能不是原表中的字段，比如：<br/><br/>&nbsp;&nbsp; select count(*) from tbl_news<br/><br/>&nbsp;&nbsp; 这条语句返回的是tbl_news这个表的记录总数，而不是这个表中某个字段的值。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;那么，可以看到得到的这个列名是 Expr1000 这样我们在写程序时就引用起来不方便了，即便是你硬要说这一样也可以引用啊！那在程序中看起来就不方便了，因为你为了确定这个列是什么还得去看SQL语句。另外一点就是：每种数据库对于这条语的执行结果都是不尽相同的，比如有些数据库的执行结果返回的列名直接就是：count(*)&nbsp;&nbsp;，这就会造成程序的通用性下降了，所以我们就需要使用AS关键字来对返回结果集中的一列重命名，我们把语句改成这样：<br/><br/>&nbsp;&nbsp; select count(*) as countnum from tbl_news<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;执行后可以看到统计这一列已经被重命名为countnum了，而这条SQL语句在所有的数据库系统中执行的返回结果列名都是一致的，这就解决了上面所说的问题。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;而且，我们重命名列名后还可以把这些列名用于其它的SQL子句中，比如ORDER BY 、 GROUP BY 等，如：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;select n_ncid,count(*) as countnum from tbl_news group by n_ncid order by countnum<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;请不要拿这条语句在ACCESS中调试，因为ACCESS不支持，这里写这样的句子，是为了告诉大家重命名字段的用途，而字段重命名后可以用在哪些地方就是依据不同的数据库所支持不同功能 的SQL语句来定了。例如说 SQL SERVER所支持的SQL语句就比ACCESS丰富的多，而ORACLE数据库支持的某些SQL语句，SQL SERVER又不支持，正如我们在讲解SQL语句之前所说的，虽然有标准的SQL语句，但各数据库厂商不是完全遵照这个标准来做的，有的支持的多，有的支持的少，等等。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;再看字段重命名的例子，有时候当我们多个表的字段有重名时，为了防止查询结果中出现同名字段名，我们需要将字段名重命名，比如这条语句：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;select tablea.t_id as tblaid,tableb.t_id as tblbid from tablea,tableb where ....<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;这样我们得到的列名就是tablaid&nbsp;&nbsp;tablbid&nbsp;&nbsp;也就避免混淆了。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;AS关键字不光可以重命名列名，还可以将表名重命名，比如，当我们的一些表名很长，而一条SQL语句又很复杂时，为了便于观看，我们可以对表名进行重命名，看下面这条语句：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;select ta.id,tb.*,tc.fielda,td.xxx from tbl_newsclassup as ta,tbl_newsclassthis as tb,tbl_newsclasstype as tc,tbl_newsclasslevel as td where ta.id=tb.tnct_id and tb.tt_id=tc.xx_id and ta.id=td.tncl_id order by ta.id desc tb.tnct_id desc,tc.xx_id desc,td.tncl_id desc<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;大家不要看花眼了，在这个SQL语句的FROM子句中我们从 tbl_newsclassup tbl_newsclassthis tbl_newsclasstype tbl_newsclasslevel 四个表中查询数据，而我们要求返回的字段又是多个表中的不同字段，并且我们的WHERE子句也比较复杂，还有排序字段。其中在FORM子句中我们将四个表使用AS关键字重新命名为ta,tb,tc,td，这样，在SQL语句的其它任意地方都可以使用重命名后的表名来引用这个表中的字段。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;如果我们不对表重新命名的话，所需要写的SQL语句将是这样的：<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;select tbl_newsclassup.id,tbl_newsclassthis.*,tbl_newsclasstype.fielda,tbl_newsclasslevel.xxx from tbl_newsclassup,tbl_newsclassthis,tbl_newsclasstype,tbl_newsclasslevel where tbl_newsclassup.id=tbl_newsclassthis.tnct_id and tbl_newsclassthis.tt_id=tbl_newsclasstype.xx_id and tbl_newsclassup.id=tbl_newsclasslevel.tncl_id order by tbl_newsclassup.id desc tbl_newsclassthis.tnct_id desc,tbl_newsclasstype.xx_id desc,tbl_newsclasslevel.tncl_id desc<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;对比这两条能实现同样功能的语句，相信不用多说，大家就知道该使用哪条语句了吧？<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;以上所述就是AS关键字的使用方法和好处。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;注意：对于前半段所说的AS关键字对于重命名列名后在某些数据库中不能使用的情况，大家需要查阅相关数据库所提供的手册。<br/><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=asp" rel="tag">asp</a> , <a href="http://www.haishui.net/blog/tag.php?tag=sql" rel="tag">sql</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?261</link>
<title><![CDATA[企业网站的迫切与出路]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[网络营销]]></category>
<pubDate>Fri, 04 Apr 2008 11:35:51 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?261</guid> 
<description>
<![CDATA[ 
	一切对中小企业开展网上贸易有利的领域在未来都会被我们纳为项目。 <br/><br/>在经过过去几年的艰难市场培育，中国的电子商务环境已经初步具备全球化供应体系特征，但很多企业仍然仅仅把基于互联网平台的交易流程视为一种技术手段，而不是必要要素---一个直观的现实是，很多企业仍然没有自己单独的网站，而仅仅是将自己的产品放置于阿里巴巴之类的电子商务平台上，这显然不符合电子商务的基本特征：平台专属化、交易渠道化以及产品流动共享化。<br/><br/>而之前IDC更是有份报告证实，目前有一半以上的中小企业没有自己的网站，同时在已有网站的企业中，近50%的企业认为目前所使用的企业网站营销效果不理想、后续维护麻烦，无法为企业的经营带来有效的帮助，更无法使企业通过网站真正实现从传统贸易到电子商务的根本转变。时至今日，企业网站这一市场仍然鱼龙混杂，而且发展相对缓慢，这和中国4000多万中小企业强大的信息化建设需求非常不吻合。<br/><br/>这只是一个技术门槛，而重要的是，产业分析者认为，这说明中国的中小企业要想进入真正的全球化电子商务竞争领域，必须要告别固有的路径依赖，而是在强调自身硬件完善的前提下进入统一的交易平台，而限于中小企业的自身发展需要，这一部分的硬件构建将有可能通过“分包”或者第三方架设的方式完成。而目前中国主要的域名注册服务提供商由于自身商业模式和业务结构的限制一直无法找到更好的出路来挖掘及提升企业网站这一市场。<br/><br/>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?260</link>
<title><![CDATA[PHP应用技巧提高篇]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Thu, 06 Mar 2008 13:08:01 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?260</guid> 
<description>
<![CDATA[ 
	　提高PHP的运行效率<br/><br/>　　PHP的优点之一是速度很快，对于一般的网站应用，可以说是已经足够了。不过如果站点的访问量很高、带宽窄或者其它的因素令服务器产生性能瓶颈的时候，你可能得想想其它的办法来进一步提高PHP的速度了。<br/><br/>　　1.代码优化<br/><br/>　　(1)用i+=1代替i=i+1。符合c/c++的习惯，效率还高。<br/><br/>　　(2)尽可能的使用PHP内部函数。自己编写函数之前要详细查阅手册，看有没有相关的函数，否则费力不讨好。<br/><br/>　　(3)能使用单引号字符串尽量使用单引号字符串。单引号字符串的效率要高于双引号字符串。<br/><br/>　　(4)用foreach代替while遍历数组。遍历数组时foreach的效率明显高于while循环，而且不需要调用reset函数。两种遍历方法如下：<br/><br/>　　程序1：<br/><br/>reset (＄arr);&nbsp;&nbsp; <br/>while (list(＄key, ＄value) = each (＄arr)) &#123;&nbsp;&nbsp; <br/>echo "Key: ＄key; Value: ＄value<br/>n";&nbsp;&nbsp; <br/>&#125; <br/><br/><br/>　　程序2：<br/><br/>foreach (＄arr as ＄key => ＄value) &#123;&nbsp;&nbsp; <br/>echo "Key: ＄key; Value: ＄value<br/>n";&nbsp;&nbsp; <br/>&#125; <br/><br/><br/>　　2.压缩页面<br/><br/>　　HTTP1.1协议支持页面压缩传送，也就是说服务器把一个页面压缩传送到客户端，然后在客户端将页面解压缩再显示给客户。在服务器端有两种传输方式，一种是页面事先已经压缩好了，传送时只要将压缩页面传送到客户端就行，这种适用于静态网页多的情况，但是对于大多数站点，动态页面比较多，这种方法不太适合，因为很多传到客户端的页面其实是没有的，是服务器接到客户端用户请求动态产生的，所以就要求每生成一个动态页面都要在传到客户端以前先打包压缩。从PHP的4.0.4版以后，可以在php.ini文件中增加一行配置“output_handler = ob_gzhandler”，这样每个动态生成的页面在传送到客户端之前都会进行压缩，但是根据PHP官方站点的说明，这个参数不能与“zlib.output_compression = on”参数同时使用，因为容易引起PHP工作不正常，另外它只能压缩PHP程序的动态生成的页面，对于大量的静态页面尤其是图像文件就不行了。但是mod_gzip模块为Apahe提供了将静态页面在传给客户端以前先压缩的功能,它的压缩比最大能到10，一般情况下可以到 3，也就是说网站的传输速率一下提高了三倍多。要使用mod_gzip还要对Apache进行相应的配置，需要在httpd.conf文件中加入一些参数：<br/><br/>　　mod_gzip_on Yes(模块是否生效) <br/>　　mod_gzip_minimum_file_size 1002(最小压缩文件大小) <br/>　　mod_gzip_maximum_file_size 0(最大压缩文件大小，0表示没有限制) <br/>　　mod_gzip_maximum_inmem_size 60000(最大可占用内存) <br/>　　mod_gzip_item_include file "..gif102SINA>DOUBLE_QUOTATION (以gif结尾的文件要压缩传送) <br/>　　mod_gzip_item_include file ".txt102SINA>DOUBLE_QUOTATION <br/>　　mod_gzip_item_include file ".html102SINA>DOUBLE_QUOTATION <br/>　　mod_gzip_item_exclude file ".css102SINA>DOUBLE_QUOTATION <br/><br/>　　3.文件缓存<br/><br/>　　这种方法通常是针对PHP、PERL等CGI程序而言的，因为这些程序有一个共同的特征就是接到用户的请求后不是马上将结果返回给用户，而是经过解释器解释执行后将执行结果返回给客户，这期间通常都要涉及到数据库的访问。这样就会出现一个问题，当两个用户访问同一个页面时，系统将分别对两个请求进行操作，但事实上这两个操作可能是一模一样的，这样无形当中增加了系统的负担。所以通常的解决办法是在系统内存中开辟出一段空间，当用户第一次访问页面后将执行结果存放在该内存中，当有用户再一次访问该页面时，系统就将页面直接从内存中调出而不需要重新解释执行，这段内存空间就叫缓存。目前流行的缓存管理程序是Zend Technologies公司的Zend Cache。<br/><br/>　　4. 执行系统外部命令<br/><br/>　　PHP作为一种服务器端的脚本语言，像编写简单、或者是复杂的动态网页这样的任务，它完全能够胜任。但事情不总是如此，有时为了实现某个功能，必须借助于操作系统的外部程序(或者称之为命令)，这样可以做到事半功倍。<br/><br/>　　在PHP中调用外部命令，可以用下面介绍的三种方法来实现。<br/><br/>　　5.用PHP提供的专门函数<br/><br/>　　PHP提供了3个专门的执行外部命令的函数：system()，exec()，passthru()。<br/><br/>　　system()<br/><br/>　　原型：string system (string command [, int return_var])<br/><br/>　　system()函数很其它语言中的差不多，它执行给定的命令，输出和返回结果。第二个参数是可选的，用来得到命令执行后的状态码。<br/><br/>　　例子：　　<br/><br/>system("/usr/local/bin/webalizer/webalizer"); <br/><br/><br/>　　exec()<br/><br/>　　原型：string exec (string command [, string array [, int return_var]])<br/><br/>　　exec()函数与system()类似，也执行给定的命令，但不输出结果，而是返回结果的最后一行。虽然它只返回命令结果的最后一行，但用第二个参数array可以得到完整的结果，方法是把结果逐行追加到array的结尾处。所以如果array不是空的，在调用之前最好用unset()最它清掉。只有指定了第二个参数时，才可以用第三个参数，用来取得命令执行的状态码。<br/><br/>　　例子：<br/><br/>　　exec("/bin/ls -l"); <br/>　　exec("/bin/ls -l", $res); <br/>　　exec("/bin/ls -l", $res, $rc); <br/><br/><br/>　　passthru()<br/><br/>　　原型：void passthru (string command [, int return_var])<br/><br/>　　passthru()只调用命令，不返回任何结果，但把命令的运行结果原样地直接输出到标准输出设备上。所以passthru()函数经常用来调用象pbmplus(Unix下的一个处理图片的工具，输出二进制的原始图片的流)这样的程序。同样它也可以得到命令执行的状态码。<br/>例子：<br/><br/>　　header("Content-type: image/gif"); <br/>　　passthru("./ppmtogif hunte.ppm"); <br/><br/><br/>　　6.用popen()函数打开进程<br/><br/>　　上面的方法只能简单地执行命令，却不能与命令交互。但有些时候必须向命令输入一些东西，如在增加Linux的系统用户时，要调用su来把当前用户换到root才行，而su命令必须要在命令行上输入root的密码。这种情况下，用上面提到的方法显然是不行的。<br/><br/>　　popen()函数打开一个进程管道来执行给定的命令，返回一个文件句柄。既然返回的是一个文件句柄，那么就可以对它读和写了。在PHP3中，对这种句柄只能做单一的操作模式，要么写，要么读;从PHP4开始，可以同时读和写了。除非这个句柄是以一种模式(读或写)打开的，否则必须调用pclose()函数来关闭它。<br/><br/>　　例子1：<br/><br/>　　$fp=popen("/bin/ls -l", "r"); <br/><br/><br/>　　例子2：<br/><br/>/* PHP中如何增加一个系统用户 <br/>下面是一段例程，增加一个名字为james的用户, <br/>root密码是 verygood。仅供参考 <br/>*/ <br/>$sucommand = "su --login root --command"; <br/>$useradd = "useradd "; <br/>$rootpasswd = "verygood"; <br/>$user = "james"; <br/>$user_add = sprintf("%s "%s %s"",$sucommand,$useradd,$user); <br/>$fp = @popen($user_add,"w"); <br/>@fputs($fp,$rootpasswd); <br/>@pclose($fp); <br/><br/><br/>　　养成良好的程序风格<br/>　　在很多情况下PHP最可贵的特点也可能是它最薄弱的环节就是它的语法松散性。 PHP能够如此广泛的被使用，因为它使得许多没有经验的Web开发者能够制作出强大的应用程序，而用不着过多的考虑规划、连贯性和文档。不幸的是，正是以上的特点，很多的PHP源代码很臃肿，很难阅读甚至无法维护。决定代码可维护性的重要因素是代码的格式和注释。一个工程的所有代码应该以贯穿始终的形式组织。以下介绍的是如何在PHP程序中养成良好的程序代码风格。<br/><br/>　　7.缩进<br/><br/>　　开发者所有的代码应该完全按照缩进的方式书写。这是提高代码可读性最基本的措施。即使你没有注释你的代码，缩进对于让其他人读懂你的代码也是非常大的帮助。<br/><br/>　　8.增加注释<br/><br/>　　在编程时添加注释是一个好的习惯.PHP 允许在页面代码中添加注释，具体的注释方法与C语言注释语法相同，在脚本中可以加注释。可以用 "/*" 和 "*/" 来注释一段话。可用双斜杠“//”作为注释符。<br/><br/>　　9.控制结构<br/><br/>　　这个很大程度上取决于个人口味。我仍然可以看到很多的控制结构代码不带分支语句造成可读性非常差，如果你使用IF语句时不带分支，不但可读性变差，当其他人修改你的程序时，还会造成很多的bug。请看下例：<br/><br/>　　不好的例子：<br/><br/>　　if ($a == 1) echo 'A was equal to 1';<br/><br/>　　这是非常难以辨认的。它能够正常工作，但是除了你之外，别人根本不会赞赏这句代码。 有改进的例子：<br/><br/>　　if ($a == 1) <br/>　　echo 'A was equal to 1'; <br/><br/><br/>　　现在至少这句代码可以读懂了，但是仍然没有很好的可维护性。如果当$a==1的时候我希望一个附加的事件发生，或者需要添加分支呢?如果后来的程序员忘记了添加大括弧或者else关键字，那么程序中将出现bug。<br/><br/>　　完美的例子<br/><br/>　　if (($a == 1) && ($b==2)) &#123; <br/>　　echo 'A was equal to 1'; //很容易的可以添加其他代码 <br/>　　&#125; elseif (($a == 1) && ($b==3)) &#123; //其他操作 <br/>　　&#125; <br/><br/><br/>　　请注意在if和elseif后面的空格，这会将本语句和函数调用区分开来，此外，虽然在elseif的执行程序段中没有语句，只有注释，表面上显得多余可是却给以后维护程序的程序员给予了非常方便的提示，并且非常利于添加功能。<br/><br/>　　10.利用 Include 来实现功能模块化<br/><br/>　　可以将常用的功能函数存于一个PHP文件，在其它PHP页中要用其中的功能时，将包含函数的PHP文件包含在调用函数的PHP文件中.这时可使用 Include 函数。具体语法为：<br/><br/>　　include($FileName);<br/><br/>　　使用时应该注意：<br/><br/>　　1、应避免自包含，即 File1 包含 File1;在多个文件中有包含语句时，应避免间接自包含即循环包含，如File1包含File2，File2包含File3，File3包含File1.<br/><br/>　　2、被包含的脚本语言的类型必须是PHP语言类型或脚本语句段。<br/><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=php" rel="tag">php</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?259</link>
<title><![CDATA[ASP中常见的错误80004005信息]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Thu, 06 Mar 2008 04:37:59 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?259</guid> 
<description>
<![CDATA[ 
	错误信息：<br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database <br/>　　engine cannot open the file '(unknown)'. It is already opened exclusively <br/>　　by another user, or you need permission to view its data. <br/><br/>原因： <br/><br/>　　这个错误发生在当IIS使用匿名帐号(通常是IUSR)时,该帐号在NT中对数据库所在的目录没有正确的权限.（这就是为什么在Win95和PWS下没问题，因为win95根本没有目录权限这一说）检查文件和目录的权限， 确定你能够在该目录中有能够新建和删除临时文件的权限。 这些临时文件其实是数据库建立在同一个目录下的文件, 但是要注意的是，有可能这些文件 也可能建立在别的目录，例如 /Winnt. 使用NT的文件监视程序监视文件失败时到底是访问了什么目录。这个NT的文件监视程序可以在这个地方下载<a href="http://www.sysinternals.com." target="_blank">http://www.sysinternals.com.</a> <br/><br/>　　如果你对数据库使用一个网络地址，例如映射地址，就要检查一下共享文件和目录的权限，还要检查一下数据源文件（DSN）是否被别的程序标志成为正在使用中，这些别的程序一般是Visual InterDev，关闭任何一个InterDev中的正打开和数据库连接的项目。 <br/><br/>　　这个错误还可能发生在这种情况： 如果在DSN中使用了一个UNC路径（就是通用命名协议），请改用本地路径进行测试，因为如果对本地数据库使用UNC也可能出错。<br/><br/>　　还可能发生在这种情况：如果服务器要访问Access中的一个表，而这个表却联接在一个网络服务器上。 <br/><br/>错误信息： <br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Microsoft Access 97 Driver] Couldn't use '(unknown)'; <br/>　　file already in use. <br/><br/>原因： <br/><br/>　　多人使用时数据库被锁定。 <br/><br/>错误信息： <br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Driver Manager] Data source name not found and no default <br/>　　driver specified.<br/><br/>原因： <br/><br/>　　最可能的原因是ConnectString是一个在global.asa中初始化的Session变量 ，但是global.asa 却没有正常工作。<br/>　　解决办法是，检查赋值时是否正确：（在你的asp中加入下面的代码） <br/><br/>　　还有一个原因就是你在你的ConnectString中加入了多余的空格，例如 <br/>　　DSN = MyDSN; Database = Pubs; <br/>　　试试改成下面这个样子： <br/>　　DSN=MyDSN;Database=Pubs; <br/><br/>　　如果是global.asa还没有工作，检查该文件是否在运用程序的根目录中,或者是虚拟目录的根目录中。 <br/><br/>　　还有可能错误出现的原因是DSN名称没找着，这可以采用我提供的id=36767的办法解决。<br/><br/>　　最后是检查是否安装了最新的驱动程序，既是否是最新的MDAC版本。 <br/><br/>错误信息：<br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Driver Manager] Data source name not ?? <br/><br/>原因：<br/><br/>　　这个错误有可能是出现在你的计算机上软件安装（或则反安装）的顺序上。 如果ODBC的版本不一致的话，就会发生该错误。 <br/><br/>　　解决办法是安装最新版本的MDAC。<br/><br/>错误信息： <br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open <br/>　　registry key 'DriverId'. <br/><br/>原因： <br/><br/>　　这个错误发生在从注册表中读取数值的时候。 使用regedit32.exe检查你的注册表的权限。 你也可以使用NT中的注册表监视程序（NTRegMon）来看读取失败信息。<br/><br/>　　 该程序到这找：<a href="http://www.sysinternals.com" target="_blank">http://www.sysinternals.com</a> <br/><br/>错误信息： <br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC SQL Server Driver][dbnmpntw]ConnectionOpen (CreateFile()). <br/><br/>原因：<br/><br/>　　两个原因：当一个数据库中包含有分别在不用机器上的许可关系时，这也可能发生在同一台机器上，当你给一个关系设置了UNC路径，而另一个关系却是本地路径。 <br/>　　错误原因是： <br/>　　当用户使用IIS匿名帐号登录后，对本地这台机器而言他是有权的，但是对于一个UNC路径的机器，另外这台机器是不会认为你当前匿名登录的帐号在它那上面也是合法的。这样它就不允许你访问它上面的资源，导致错误。 <br/><br/>　　两个解决办法： <br/>　　1．在IIS工具中，改变IIS匿名帐号成另外一个基于域的帐号。（也就是不使用匿名登录） <br/>　　2．或则在那台你要访问资源的机器上也创建一个和当前匿名帐号同样的帐号，使用同样的密码。 <br/><br/>错误信息： <br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' Microsoft][ODBC <br/>　　Microsoft SQL Driver] Logon Failed() <br/><br/>原因：<br/><br/>　　该错误是由SQL Server产生的，当它不接受或者不能够认识这个登录帐号的时候，或者没有使用管理员身份登录，也可能是在NT中没有SQL影射帐号造成的。 <br/><br/>　　使用系统管理员帐号(SA)登录，一般密码应该为空.注意，这时必须使用CoonectString而不能够使用DSN文件。因为DSN中没有保存用户名和密码。检查NT是否给SQL映射了帐号。 <br/><br/>错误信息：<br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed- User: Reason: <br/>　　Not defined as a valid user of a trusted SQL Server connection. <br/><br/>原因： <br/><br/>　　原因同上。 <br/>　　试试这个办法：在SQL Server的Enterprise Manager中，选择<br/>Server/SQL Server/Configure[ASCII 133]/Security Options/Standard. 如果是运行在IIS4中，取消选择该项目的Password Synchronization选项。 <br/><br/>错误信息:<br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Microsoft Access 97 Driver] Couldn't lock file. <br/><br/>原因： <br/><br/>　　也许是没有正确的权限生成Access数据库的锁定文件(.ldb) 默认时，该文件和你的数据库是同一个目录的。 给匿名帐号全权访问数据库共享目录的权限。 <br/><br/>　　有时是因为文件是因为共享时有意使用了只读的权限限制。试试使用下面的代码。 <br/>　　Set Conn = Server.CreateObject("ADODB.Connection") <br/>　　Conn.Mode = adModeShareDenyWrite '8 <br/><br/>错误信息： <br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC Microsoft Access 97 Driver] '(unknown)' isn't a valid <br/>　　path. Make sure that the path name is spelled correctly and that you are <br/>　　connected to the server on which the file resides. <br/><br/>原因： <br/>　　路径非法。最可能发生在当Global.asa和CoonecntString被使用到另外一台机器上的时候。 <br/><br/>错误信息：<br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC SQL Server Driver][SQL Server] The query and the views in <br/>　　it exceed the limit of 16 tables. <br/><br/>原因： <br/><br/>　　查询太复杂了，对查询有限制。 <br/><br/>错误信息： <br/><br/>　　Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br/>　　[Microsoft][ODBC SQL Server Driver][DBMSSOCN] General network error. Check <br/>　　your network document． <br/><br/>原因： <br/><br/>　　当装有SQL Server的机器改名的时候。但是DSN还使用了原来<br/><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=asp" rel="tag">asp</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?258</link>
<title><![CDATA[ASP程序中的数据库调用的错误]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Thu, 06 Mar 2008 04:36:58 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?258</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;　　下面是虚机维护中，经常碰到的一些ASP程序中的数据库调用的错误，现收集整理如下： <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;不能打开注册表关键字(8007000e) <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　Microsoft OLE DB Provider for ODBC Drivers 错误 '8007000e' <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary <br/>&nbsp;&nbsp;　　(volatile) Jet DSN for process 0x11b4 Thread 0x1a4c DBC 0x9d34354 Jet'。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.打开数据库时写法不对，标准的ACCESS数据库调用写法： <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　"driver=&#123;Microsoft Access Driver (*.mdb)&#125;;dbq=" & server.mappath("db.MDB") <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2. 正在上传数据库文件。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;―――――――――――――――――――――――――――――――――――― <br/> &nbsp;&nbsp;<br/>&nbsp;&nbsp;一般性网络错误。请检查网络文档(80004005) <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]一般性网络错误。请检查网络文档。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.数据库连接书写不正确，可能数据库名、服务器名错误。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2.数据库服务器重启中。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;―――――――――――――――――――――――――――――――――――― <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;不能使用 ''；文件已在使用中(80004005) <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　Microsoft JET Database Engine 错误 '80004005' <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　不能使用 ''；文件已在使用中。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.文件可能正被占用：上传、压缩、打包。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2.可能程序代码中形成了嵌套包含，重复包含的数据库调用文件。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;―――――――――――――――――――――――――――――――――――― <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;不能更新。数据库或对象为只读/操作必须使用一个可更新的查询 (80004005) <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　[Microsoft][ODBC Microsoft Access Driver] 操作必须使用一个可更新的查询。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' [Microsoft][ODBC Microsoft Access Driver] 不能更新。数据库或对象为只读。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.数据库文件权限不够。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2.文件占用空间达到磁盘限额上限。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　当提示“操作必须使用一个可更新的查询”时有几个主要的错误原因：这个错误发生在当你的程序试图执行更新数据库或其它类似操作时。这是因为ADO由于以下的几个原因而不能够写数据库造成的。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.最普遍的原因是匿名用户帐号(IUSR_MACHINE)对该数据库文件没有写权限。要解决这个问题，在管理器中调整数据库文件的属性，让匿名用户有正确的权限。当使用ACCESS数据库时，不仅要给文件写的权限，还要给该目录写的权限，因为Jet需要在该目录建立一个.ldb文件。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　2.第二个原因是数据库没有使用正确的模式打开。应该使用下面的方法打开。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　SQL = "UPDATE Products Set UnitPrice = 2;" <br/>&nbsp;&nbsp;　　Set Conn = Server.CreateObject("ADODB.Connection") <br/>&nbsp;&nbsp;　　Conn.Mode = 3 '3 = adModeReadWrite <br/>&nbsp;&nbsp;　　Conn.Open "myDSN" <br/>&nbsp;&nbsp;　　Conn.Execute(SQL) <br/>&nbsp;&nbsp;　　Conn.Close <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　注意默认的Mode是设置0(adModeUnknown),它是允许更新的。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　3.还有可能是在ODBC管理器中将该DSN的只读选项选中。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　4.你是在同时更新两个表中的字段，也会出现这个错误信息，解决办法是分开来更新这两个表中各自字段。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　5.当你使用了一个从低版本中（如ACCESS2.0,ACCESS7.0）载入到高版本(ACCESS 2000)中的查询时，在执行这个查询是会出现该错误。 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;―――――――――――――――――――――――――――――――――――― <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;未发现数据源名称并且未指定默认驱动程序(80004005) <br/>&nbsp;&nbsp;　　Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005' <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　[Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序 <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　1.使用了ODBC连接数据库，服务器上没有配置ODBC数据库，改用OLEDB的标准调用方式： <br/>&nbsp;&nbsp; <br/>&nbsp;&nbsp;　　"Driver=&#123;SQL Server&#125;;Database=dbname;Server=srv;Uid=user;Pwd=pd"可以解决。 <br/><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=asp" rel="tag">asp</a>
]]>
</description>
</item><item>
<link>http://www.haishui.net/blog/read.php?257</link>
<title><![CDATA[ASP中数据库的连接方法（不断更新）]]></title> 
<author>海水 &lt;liuyang1423@163.com&gt;</author>
<category><![CDATA[技术学习]]></category>
<pubDate>Mon, 03 Mar 2008 03:49:54 +0000</pubDate> 
<guid>http://www.haishui.net/blog/read.php?257</guid> 
<description>
<![CDATA[ 
	今天修改一套程序，发现是DSN连接的。看了半天，狂晕。很久没有接触到DSN了。<br/>总结了几个常用的：<br/><br/>ACCESS：<br/>1、字符串方式：<br/>set conn=server.createobject("adodb.connection")<br/>conn.open "DRIVER=Driver do microsoft access (*.mdb);uid=admin;pwd=;dbq=" & server.mappath("db.mdb")<br/>2、DSN方式：<br/>set conn=server.createobject("adodb.connection")<br/>conn.open "DSN=name;UID=admin;PWD;"<br/><br/>MSSQL:<br/>1、字符串方式：<br/>set conn=server.createobject("adodb.connection")<br/>conn.open "Driver=&#123;sql server&#125;;server=servername;database=dbname;uid=sa;pwd=pass;"<br/><br/>MYSQL:<br/><br/>(待补充)<br/><br/>Tags - <a href="http://www.haishui.net/blog/tag.php?tag=%25E6%2595%25B0%25E6%258D%25AE%25E5%25BA%2593" rel="tag">数据库</a> , <a href="http://www.haishui.net/blog/tag.php?tag=asp" rel="tag">asp</a>
]]>
</description>
</item>
</channel>
</rss>