<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>软件生活 &#187; 编程开发</title>
	<atom:link href="http://applife.net/category/program/feed/" rel="self" type="application/rss+xml" />
	<link>http://applife.net</link>
	<description>AppLife.Net</description>
	<lastBuildDate>Thu, 31 Dec 2009 17:05:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>儿童BASIC编程 - Microsoft Small Basic</title>
		<link>http://applife.net/2008/12/microsoft-small-basic/</link>
		<comments>http://applife.net/2008/12/microsoft-small-basic/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 00:16:10 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://applife.net/2008/12/microsoft-small-basic/</guid>
		<description><![CDATA[


 记得最早在学校接触电脑的时候，老师教的是小海龟logo语言，通过命令让小海龟在屏幕上划线。
最初老师那个版本网上似乎找不到了，能找到的是后来用过的pc logo 4.0版本。
现在，微软... ]]></description>
			<content:encoded><![CDATA[<p>记得最早在学校接触电脑的时候，老师教的是小海龟logo语言，通过命令让小海龟在屏幕上划线。</p>
<p>最初老师那个版本网上似乎找不到了，能找到的是后来用过的<a href="http://www.google.com/search?hl=zh-CN&amp;q=pc+logo" target="_blank">pc logo 4.0</a>版本。</p>
<p>现在，微软开发了一种新的语言<a href="http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx" target="_blank">Small Basic</a>来给孩子用，我们虽然不是儿童了，但看看也不妨。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811e2917e6011e3664ae4d322f"><img src="http://img.applife.net/2008/882566a8ae7f.jpg" border="0" alt="软件生活 AppLife.Net" width="500" height="390" /></a></p>
<p>界面很好看，且足够简单。</p>
<p><span id="more-207"></span></p>
<p>这种语言本质上是一个简化版的basic语言，只包含15个关键字。整个软件基于.net最新版。</p>
<p>来试试写个hello world吧：</p>
<blockquote><p>TextWindow.WriteLine("Hello World")</p></blockquote>
<p>运行一下看看：</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811e30e786011e366d41fa3947"><img src="http://img.applife.net/2008/757256a8b0a2.jpg" border="0" alt="软件生活 AppLife.Net" width="500" height="390" /></a></p>
<p>生成的exe文件可以独立运行的。</p>
<p> </p>
<p>给孩子用的，简单最重要。Small Basic有强大的帮助系统，输入每一个语句甚至字母都有丰富的解释。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811e30e9c7011e367001137de0"><img src="http://img.applife.net/2008/994096a8b163.jpg" border="0" alt="软件生活 AppLife.Net" width="500" height="390" /></a></p>
<p>还有一些有趣的语句，比如这个：</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811e30e786011e367be7153ad3"><img src="http://img.applife.net/2008/518916a8b462.jpg" border="0" alt="软件生活 AppLife.Net" width="500" height="390" /></a></p>
<p>微软还提供了一份编程指南，有<a href="http://download.microsoft.com/download/9/0/6/90616372-C4BF-4628-BC82-BD709635220D/Introducing%20Small%20Basic.pdf" target="_blank">pdf</a>和<a href="http://download.microsoft.com/download/9/0/6/90616372-C4BF-4628-BC82-BD709635220D/Introducing%20Small%20Basic.docx" target="_blank">docx</a>版，据说9岁孩子都<span style="text-decoration: line-through;">难</span><span style="text-decoration: underline;">能</span>看懂。</p>
<p> </p>
<p><a href="http://msdn.microsoft.com/en-us/devlabs/cc950524.aspx" target="_blank">Small Basic</a>需要<a href="http://www.microsoft.com/Downloads/details.aspx?familyid=333325FD-AE52-4E35-B531-508D977D32A6&amp;displaylang=zh-cn" target="_blank">Microsoft .NET Framework 3.5</a>才可以运行，这个估计安装了的不多，试试能不能运行就知道了。</p>
<p> </p>
<p><a href="http://applife.net/u/556" target="_blank">下载</a>（1.68M）：<a href="http://applife.net/u/557" target="_blank">fs2you</a> | <a href="http://applife.net/2008/12/Microsoft-Small-Basic/" target="_blank">来自软件生活</a> | <a href="http://applife.net/u/558" target="_blank">纳米盘</a> | <a href="http://applife.net/u/559" target="_blank">uushare</a> | <a href="http://applife.net/u/560" target="_blank">FileSavr</a> | <a href="http://applife.net/u/561" target="_blank">skydrive</a> | <a href="http://applife.net/u/562" target="_blank">easy-share</a><br />
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/10/doctotext/" title="命令行Word文件转文本工具 &#8211; DocToText">命令行Word文件转文本工具 &#8211; DocToText (7)</a></li>
<li><a href="http://applife.net/2008/07/mdb-viewer-plus/" title="不用Access也能操作MDB文件 &#8211; MDB Viewer Plus">不用Access也能操作MDB文件 &#8211; MDB Viewer Plus (13)</a></li>
<li><a href="http://applife.net/2008/06/microsoft-virtual-pc-2007/" title="只有2M多的虚拟机 &#8211; Microsoft Virtual PC 2007 精简版">只有2M多的虚拟机 &#8211; Microsoft Virtual PC 2007 精简版 (39)</a></li>
<li><a href="http://applife.net/2008/05/windows-xp-with-sp3-vol-msdn/" title="Windows XP with SP3 VOL MSDN 简体中文版">Windows XP with SP3 VOL MSDN 简体中文版 (5)</a></li>
<li><a href="http://applife.net/2008/04/flash-webmaster-toolbox/" title="很酷的Flash站长工具箱 &#8211; Webmaster Toolbox">很酷的Flash站长工具箱 &#8211; Webmaster Toolbox (3)</a></li>
<li><a href="http://applife.net/2008/04/microsoft-adcenter-analytics/" title="微软统计服务 &#8211; Microsoft adCenter Analytics">微软统计服务 &#8211; Microsoft adCenter Analytics (2)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F12%2Fmicrosoft-small-basic%2F&title=%E5%84%BF%E7%AB%A5BASIC%E7%BC%96%E7%A8%8B+-+Microsoft+Small+Basic" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li><a href='http://www.e-xia.com' rel='external nofollow' class='url'>yixia</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3458">2008-12-16</a>发表评论：据说9岁孩子都难看懂
还是都能看懂？</li><li><a href='http://jsfaint.spaces.live.com' rel='external nofollow' class='url'>jason</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3460">2008-12-16</a>发表评论：都难看懂是由于是全英文的吧~9岁的非英语国家的儿童当然看不懂=。=</li><li><a href='http://talkmyword.blogbus.com/' rel='external nofollow' class='url'>childpandora</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3461">2008-12-16</a>发表评论：计算机，从娃娃抓起</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3464">2008-12-16</a>发表评论：@yixia, 对不起，打错了。
是都能看懂。当然，这是指英语国家的孩子。</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3465">2008-12-16</a>发表评论：@jason, 打错了。不过非英语国家的确很难看懂……</li><li><a href='http://myfairland.net/' rel='external nofollow' class='url'>Betty</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3468">2008-12-16</a>发表评论：小海龟logo语言……好亲切啊，我记得小时候学过某种小海龟语言，但一直记不得确切名字了，也就搜索不到，问别人都没听过，今天算是找到同龄人了……</li><li><a href='http://www.panyuye.com' rel='external nofollow' class='url'>醉倚西风</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3476">2008-12-17</a>发表评论：:cry: 我18我都看不懂 晕死</li><li><a href='http://talkmyword.blogbus.com/' rel='external nofollow' class='url'>childpandora</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3490">2008-12-18</a>发表评论：入门就这个会不会太难？</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-3494">2008-12-18</a>发表评论：我觉得不会，毕竟是给孩子用的……</li><li><a href='http://www.goodcn.net' rel='external nofollow' class='url'>kaysnoopy</a>在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-4521">2009-03-19</a>发表评论：囧。。改回去啦。。我们国家19岁的都难看懂。。</li><li>small在<a href="http://applife.net/2008/12/microsoft-small-basic/#comment-5877">2009-06-22</a>发表评论：很简单的。谁翻译一下手册就好了。</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=207&type=feed" alt="" /><p><script type="text/javascript"><!--
google_ad_client = "pub-7576122563886797";
google_ad_slot = "2592729462";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p> ]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/12/microsoft-small-basic/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>比nginx还快的HTTP服务器 - Cherokee</title>
		<link>http://applife.net/2008/12/cherokee-web-server/</link>
		<comments>http://applife.net/2008/12/cherokee-web-server/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 11:00:34 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[网络软件]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://applife.net/2008/12/cherokee-web-server/</guid>
		<description><![CDATA[以前我介绍过nginx的windows版，这个服务器的性能算是非常优秀的了，很多大型网站都在使用。
今天看到一个号称目前最快的Web服务器Cherokee，从官方信息上看，比nginx和lighttpd还要优秀一点。
Che... ]]></description>
			<content:encoded><![CDATA[<p>以前我介绍过<a href="http://www.nginx.net/" target="_blank">nginx</a>的<a href="http://applife.net/2008/07/nginx-windows/" target="_blank">windows版</a>，这个服务器的性能算是非常优秀的了，很多大型网站都在使用。</p>
<p>今天看到一个号称目前最快的Web服务器<a href="http://www.cherokee-project.com/" target="_blank">Cherokee</a>，从<a href="http://www.cherokee-project.com/benchmarks.html" target="_blank">官方信息</a>上看，比nginx和lighttpd还要优秀一点。</p>
<p><a href="http://www.cherokee-project.com/downloads.html" target="_blank">Cherokee</a>几乎覆盖了所有平台和操作系统，包括Windows版本，正好可以尝试一下了。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811dfc33f5011e0188a726416c"><img height="500" alt="软件生活 AppLife.Net" src="http://img.applife.net/2008/8341369b2643.jpg" width="487" border="0" /></a></p>
<p> <span id="more-203"></span>
<p>简单使用了一下，感觉比ngnix易用。功能上Cherokee同样支持PHP和CGI等脚本。</p>
<p>上面那个默认页面在www这个文件夹里面，配置文件是cherokee.conf这个，纯文本格式的。</p>
<p>另外，在doc文件夹有说明文档，包括配置服务器的各种参数。</p>
<p>Windows下的版本个人认为是好玩的，这类软件不可能在Windows下发挥最大性能的，所以真正使用还是在*nix下吧。</p>
<p>更多高级的用法去官方网站看吧：<a title="http://www.cherokee-project.com/doc/" href="http://www.cherokee-project.com/doc/">http://www.cherokee-project.com/doc/</a></p>
<p>&#160;</p>
<p>这里只提供Windows版本，解压到任意目录运行install.bat会生成两个文件，运行cherokee.bat即可开启服务器，另外一个cherokee.conf就是配置文件。</p>
<p>&#160;</p>
<p><a href="http://applife.net/u/536" target="_blank">下载</a>（460K）：<a href="http://applife.net/u/537" target="_blank">fs2you</a> | <a href="http://applife.net/2008/12/Cherokee-Web-Server/" target="_blank">来自软件生活</a> | <a href="http://applife.net/u/538" target="_blank">纳米盘</a> | <a href="http://applife.net/u/539" target="_blank">live-share</a> | <a href="http://applife.net/u/540" target="_blank">FileSavr</a> | <a href="http://applife.net/u/541" target="_blank">filefront</a> | <a href="http://applife.net/u/542" target="_blank">easy-share</a></p>
<p><font size="1">PS：病了，好辛苦啊。</font></p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/07/nginx-windows/" title="HTTP服务器 Nginx 的 Windows 版">HTTP服务器 Nginx 的 Windows 版 (21)</a></li>
<li><a href="http://applife.net/2009/04/xp-psd-psicon-dll/" title="让XP支持查看PSD略缩图 &#8211; psicon.dll">让XP支持查看PSD略缩图 &#8211; psicon.dll (27)</a></li>
<li><a href="http://applife.net/2008/12/minime/" title="一键解放你的任务栏——MiniMe">一键解放你的任务栏——MiniMe (20)</a></li>
<li><a href="http://applife.net/2008/11/svchost-viewer/" title="看清每个svchost.exe在干什么 &#8211; svchost viewer">看清每个svchost.exe在干什么 &#8211; svchost viewer (10)</a></li>
<li><a href="http://applife.net/2008/10/windows-embedded-theme/" title="真正微软官方主题 &#8211; Windows Embedded Theme">真正微软官方主题 &#8211; Windows Embedded Theme (29)</a></li>
<li><a href="http://applife.net/2008/10/chm-decoder/" title="完美CHM反编译工具 &#8211; CHM Decoder">完美CHM反编译工具 &#8211; CHM Decoder (18)</a></li>
<li><a href="http://applife.net/2008/09/crc-verification-utility/" title="微软专用CRC工具 &#8211; CRC Verification Utility">微软专用CRC工具 &#8211; CRC Verification Utility (11)</a></li>
<li><a href="http://applife.net/2008/08/norton-uac-tool/" title="让Vista的UAC不那么烦 &#8211; Norton UAC Tool">让Vista的UAC不那么烦 &#8211; Norton UAC Tool (19)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F12%2Fcherokee-web-server%2F&title=%E6%AF%94nginx%E8%BF%98%E5%BF%AB%E7%9A%84HTTP%E6%9C%8D%E5%8A%A1%E5%99%A8+-+Cherokee" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li><a href='http://imll.net' rel='external nofollow' class='url'>LeoChung</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3328">2008-12-04</a>发表评论：一直都是使用APMServ5.2，很好，不错</li><li><a href='http://www.waakee.com/story/56923.html' rel='external nofollow' class='url'>waakee.com</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3329">2008-12-04</a>发表评论：<strong>比nginx还快的HTTP服务器 - Cherokee | 软件生活...</strong>

以前我介绍过nginx的windows版，这个服务器的性能算是非常优秀的了，很多大型网站都在使用。今天看到一个号称目前最快的Web服务器Cherokee，从官方信息上看，比nginx和lighttpd还要优秀一点。C...</li><li><a href='http://dqpice.blogspot.com/' rel='external nofollow' class='url'>David</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3335">2008-12-05</a>发表评论：很好的软件。顺祝病早点好起来。</li><li><a href='http://talkmyword.blogbus.com/' rel='external nofollow' class='url'>childpandora</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3340">2008-12-05</a>发表评论：....貌似很强大啊</li><li><a href='http://yiyiblog.com.cn/article.asp?/a25.html' rel='external nofollow' class='url'>“熠”想天开</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3347">2008-12-05</a>发表评论：<strong>比nginx还快的HTTP服务器 - Cherokee...</strong>

&lt;p&gt;从 &lt;a href=&quot;http://applife.net/&quot; target=_blank&gt;applife&lt;/a&gt;&amp;nbsp;上看到的介绍。&lt;a href=&quot;http://applife.net/2008/12/cherokee-web-server/&quot; target=_blank&gt;比nginx还快的HTTP服务器 - Cherokee...</li><li><a href='http://moontoc.com/' rel='external nofollow' class='url'>MoontoC</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3412">2008-12-12</a>发表评论：实际上不是它只能当玩具玩,而是官方在windows上只把它当玩具来做才有这样的低效率软件产生,虽然看起来它支持几乎任何系统,实际上它只支持*nix,其他系统只是它做来让人为了在不同系统上都可以在它这个软件上调试自己代码而做的,windows又不低效,iis7的强大大家都看到的..</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3413">2008-12-12</a>发表评论：@MoontoC, 好久不见 :cool:</li><li><a href='http://daminghome.com' rel='external nofollow' class='url'>大明</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3479">2008-12-17</a>发表评论：我今天试了一下。对亚洲语系的支持不好。
不像nginx那么好用。</li><li><a href='http://moontoc.com/' rel='external nofollow' class='url'>MoontoC</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3480">2008-12-17</a>发表评论：@Black-Xstar, 是啊,好久不见,我11月初NAS坏了,连带硬盘都物理损坏,啥地址都米了,RSS软件也都米装,就没来看过了,这才恢复正常使用</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/12/cherokee-web-server/#comment-3495">2008-12-18</a>发表评论：RSS居然用软件……
google reader不好用吗？</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=203&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/12/cherokee-web-server/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>HTTP服务器 Nginx 的 Windows 版</title>
		<link>http://applife.net/2008/07/nginx-windows/</link>
		<comments>http://applife.net/2008/07/nginx-windows/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 18:14:03 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[网络软件]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://applife.net/2008/07/nginx-windows/</guid>
		<description><![CDATA[一般来说，最常见的HTTP服务器有IIS和Apache，例如软件生活用的LAMP服务器其实就是Linux+Apache+Mysql+PHP的缩写。除此之外，还有很多轻量的HTTP服务器软件。
简单地说，和上面的两个相比，这些服务... ]]></description>
			<content:encoded><![CDATA[<p>一般来说，最常见的HTTP服务器有<a href="http://www.microsoft.com/china/windowsserver2003/iis/default.mspx" target="_blank">IIS</a>和<a href="http://httpd.apache.org/" target="_blank">Apache</a>，例如<a href="http://applife.net" target="_blank">软件生活</a>用的<a href="http://applife.net/2008/04/hosted-by-cph-and-upgrade-wordpress-251/" target="_blank">LAMP</a>服务器其实就是Linux+Apache+Mysql+PHP的缩写。除此之外，还有很多轻量的HTTP服务器软件。</p>
<p>简单地说，和上面的两个相比，这些服务器软件拥有优异的性能表现来承担更大的负载，这对于大型网站来说至关重要，因为往往就能节省大量的成本。</p>
<p>早期我知道有个<a href="http://www.lighttpd.net/" target="_blank">lighttpd</a>很不错，现在依然有很多<a href="http://www.lighttpd.net/2007/4/4/powered-by-lighttpd" target="_blank">大型网站</a>使用着。不过自从<a href="http://www.nginx.net/" target="_blank">nginx</a>出来之后，凭着更优异的性能，欲来越多网站开始使用了。</p>
<p><a href="http://www.nginx.net/" target="_blank">nginx</a>是俄罗斯人<a href="http://sysoev.ru/en/">Igor Sysoev</a>的作品，这种软件一般都是运行在非Windows上面的，所以官方下载回来的压缩包里面是找不到exe文件的。</p>
<p>不过还是<a href="http://www.kevinworthington.com/" target="_blank">有人</a>提供了编译好的<a href="http://www.kevinworthington.com/nginx/win32/" target="_blank">Win32版本</a>。如果你只是和我一样想玩玩这个被世界上知名大型网站用的HTTP服务器软件，那么可以下回来玩玩，真正的使用的话还是推荐在*nux的环境下。</p>
<p><span id="more-142"></span>
<p>下载回来解压到C盘nigux下面，注意一定要放在这个目录，如果实在不想放这里的话需要自己修改里面的相关参数，否则是不能正常使用的。</p>
<p>然后运行Start-nginx就可以了，这时你打开浏览器输入<a href="http://127.0.0.1">http://127.0.0.1</a>就可以看到了。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811b547d65011b75121596187e"><img height="316" alt="软件生活 AppLife.Net" src="http://img.applife.net/2008/153595f41e6b.jpg" width="500" border="0"></a></p>
<p>这个是默认的首页，你可以在C:\nginx\html找到并修改。另外，logs存放着访问记录，conf存放着各种的配置文件。</p>
<p>至于更高级的玩法我也没研究了，不过我猜测应该和其他版本一样，所以可以到<a href="http://www.nginx.net/" target="_blank">官方</a>看看<a href="http://wiki.codemongers.com/" target="_blank">wiki</a>和<a href="http://marc.info/?l=nginx" target="_blank">mailling list</a>吧。</p>
<p>&nbsp;</p>
<blockquote><p>DOCUMENTATION:<br />This README is intended to get you up and running. For more in-depth documentation please see <a href="http://nginx.net">http://nginx.net</a>
<p>GETTING STARTED:<br />If viewing this from the installer, you can start nginx from the next screen.<br />Otherwise: to run nginx, simply go to START--&gt;Programs--&gt;nginx--&gt;Start nginx.<br />You may also use the quick launch icon or desktop icon if you installed them.
<p>STOPPING THE SERVICE:<br />START--&gt;Programs--&gt;nginx--&gt;Stop nginx is the easiest method.<br />You may also use the quick launch icon or desktop icon if you installed them.
<p>UNINSTALLING:<br />To uninstall everything, back up your html folder, your nginx.conf, and everything else within the nginx directory that you might want. Stop nginx. Then click 'Uninstall nginx' from the Start Menu or double-click Unins000.exe from the main nginx directory.
<p>DOWNLOAD:<br />The latest Windows version is at:<br /><a href="http://www.kevinworthington.com/nginx/">http://www.kevinworthington.com/nginx/</a>
<p>ANNOUNCEMENTS:<br />nginx for Windows announcements and information is at:<br /><a href="http://www.kevinworthington.com/index.php/category/computers/nginx/">http://www.kevinworthington.com/index.php/category/computers/nginx/</a>
<p>Wiki:<br />The nginx wiki is a good place to get help and tips:<br /><a href="http://wiki.codemongers.com/Main">http://wiki.codemongers.com/Main</a>
<p>CONTACT:<br />For any information or comments specific to this Windows port of nginx, please contact:<br />Kevin Worthington: &lt;kworthington at gmail dot com&gt;<br />Please put nginx in the subject.<br />For anything else related to nginx, please visit <a href="http://nginx.net/">http://nginx.net/</a><br />Thank you.
<p>%Changelog<br />* Mon Jul 07 2008 Kevin Worthington &lt;kworthington at gmail dot com&gt; - 0.6.32-win32<br />- 0.6.32 release of nginx for Windows. Built on Windows Vista Ultimate 32-bit.<br />- Tested and known to work on Windows 2000 Professional and Windows XP Professional.</p>
</blockquote>
<p>&nbsp;</p>
<p>下载（840K）：<a href="http://applife.net/u/222" target="_blank">fs2you</a> | <a href="http://applife.net/2008/07/nginx-windows/" target="_blank">来自软件生活</a> | <a href="http://applife.net/u/223" target="_blank">纳米盘</a> | <a href="http://applife.net/u/224" target="_blank">live-share</a> | <a href="http://applife.net/u/225" target="_blank">ziddu</a> | <a href="http://applife.net/u/226" target="_blank">divshare</a> | <a href="http://applife.net/u/227" target="_blank">easy-share</a></p>
<p>PS：想知道网站是用什么服务器的吗？用<a href="http://applife.net/2008/05/http-and-https-protocol-debugger/" target="_blank">Http/Https Protocol Debugger</a>查看头部信息吧。</p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/12/cherokee-web-server/" title="比nginx还快的HTTP服务器 &#8211; Cherokee">比nginx还快的HTTP服务器 &#8211; Cherokee (10)</a></li>
<li><a href="http://applife.net/2009/04/xp-psd-psicon-dll/" title="让XP支持查看PSD略缩图 &#8211; psicon.dll">让XP支持查看PSD略缩图 &#8211; psicon.dll (27)</a></li>
<li><a href="http://applife.net/2008/12/minime/" title="一键解放你的任务栏——MiniMe">一键解放你的任务栏——MiniMe (20)</a></li>
<li><a href="http://applife.net/2008/11/svchost-viewer/" title="看清每个svchost.exe在干什么 &#8211; svchost viewer">看清每个svchost.exe在干什么 &#8211; svchost viewer (10)</a></li>
<li><a href="http://applife.net/2008/10/windows-embedded-theme/" title="真正微软官方主题 &#8211; Windows Embedded Theme">真正微软官方主题 &#8211; Windows Embedded Theme (29)</a></li>
<li><a href="http://applife.net/2008/10/chm-decoder/" title="完美CHM反编译工具 &#8211; CHM Decoder">完美CHM反编译工具 &#8211; CHM Decoder (18)</a></li>
<li><a href="http://applife.net/2008/09/crc-verification-utility/" title="微软专用CRC工具 &#8211; CRC Verification Utility">微软专用CRC工具 &#8211; CRC Verification Utility (11)</a></li>
<li><a href="http://applife.net/2008/08/norton-uac-tool/" title="让Vista的UAC不那么烦 &#8211; Norton UAC Tool">让Vista的UAC不那么烦 &#8211; Norton UAC Tool (19)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F07%2Fnginx-windows%2F&title=HTTP%E6%9C%8D%E5%8A%A1%E5%99%A8+Nginx+%E7%9A%84+Windows+%E7%89%88" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li><a href='http://www.linxo.cn/blog' rel='external nofollow' class='url'>ZH CEXO</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1211">2008-07-31</a>发表评论：沙发沙发~~~
我先用的是XAMPP，后来改成了WAMP，现在又想试试EASYPHP了，呵呵！</li><li><a href='http://www.eemir3.com' rel='external nofollow' class='url'>Yacca</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1212">2008-07-31</a>发表评论：你边上的li 小标签真可爱...哈哈</li><li><a href='http://www.waakee.com/story/38330.html' rel='external nofollow' class='url'>waakee.com</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1213">2008-07-31</a>发表评论：<strong>HTTP服务器 Nginx 的 Windows 版 | 软件生活...</strong>

一般来说，最常见的HTTP服务器有IIS和Apache，例如软件生活用的LAMP服务器其实就是Linux+Apache+Mysql+PHP的缩写。除此之外，还有很多轻量的HTTP服务器软件。简单地说，和上面的两个相比，这些服...</li><li><a href='http://www.leinky.com' rel='external nofollow' class='url'>小墨</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1219">2008-07-31</a>发表评论：我本地测试用的WampServer
感觉非常好用。。呵呵</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1220">2008-07-31</a>发表评论：本地调试我用XAMPP的。</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1221">2008-07-31</a>发表评论：大叔想说什么呢？</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1222">2008-07-31</a>发表评论：貌似小墨没理解我的意思。
nginx不直接支持脚本的。</li><li><a href='http://www.linxo.cn/blog' rel='external nofollow' class='url'>ZH CEXO</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1223">2008-07-31</a>发表评论：功能都大同小异，也没太执着用哪一个，呵呵，都差不多，核心是一样的嘛。</li><li><a href='http://www.linxo.cn/blog' rel='external nofollow' class='url'>ZH CEXO</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1224">2008-07-31</a>发表评论：握个手先……我用的也是这个！</li><li><a href='http://www.leinky.com' rel='external nofollow' class='url'>小墨</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1225">2008-07-31</a>发表评论：额……那还要做很多配置？
貌似有点麻烦</li><li><a href='http://www.charlestang.cn' rel='external nofollow' class='url'>Charles</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1226">2008-07-31</a>发表评论：好高深啊，一般来说，产生不了那个需求啊，用用apache足够了</li><li><a href='http://lucifr.com' rel='external nofollow' class='url'>Lucifr</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1227">2008-07-31</a>发表评论：大叔在夸你边栏里列表前的图标</li><li><a href='http://lucifr.com' rel='external nofollow' class='url'>Lucifr</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1228">2008-07-31</a>发表评论：又是比较专业的应用，lucifr应该用不到</li><li><a href='http://www.dingood.com' rel='external nofollow' class='url'>别用鼠标点我</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1229">2008-08-01</a>发表评论：感觉还是在linux下弄比较好~可以避免许多麻烦~~</li><li><a href='http://jyfish.net' rel='external nofollow' class='url'>jyfish</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1241">2008-08-02</a>发表评论：XAMPP :twisted:</li><li><a href='http://www.dreamfreeblog.com' rel='external nofollow' class='url'>睡到自然醒blog</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-1252">2008-08-02</a>发表评论：XAMPP还是很强大的 :mrgreen:</li><li>zicjin在<a href="http://applife.net/2008/07/nginx-windows/#comment-3261">2008-12-01</a>发表评论：我下的Development 版本，登录http://127.0.0.1的时候提示要用户名密码，是啥？</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-3276">2008-12-02</a>发表评论：@zicjin, 看看配置文件或者说明吧。</li><li><a href='http://www.yicike.com/leo/?p=8' rel='external nofollow' class='url'>HTTP服务器 Nginx 的 Windows 版 &laquo; Leo Cai</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-4516">2009-03-19</a>发表评论：[...] HTTP服务器 Nginx 的 Windows 版 [...]</li><li><a href='http://www.dusike.com/httpserver/' rel='external nofollow' class='url'>&raquo; HTTP服务器 Nginx 的 Windows 版 电子商务创业思考与实践分享 读思客</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-5060">2009-04-30</a>发表评论：[...] HTTP服务器 Nginx 的 Windows 版  三月 15th, 2009 in 默认分类 [...]</li><li><a href='http://www.vouov.com' rel='external nofollow' class='url'>清晨迷雾</a>在<a href="http://applife.net/2008/07/nginx-windows/#comment-7291">2009-08-20</a>发表评论：正在查阅相关资料,谢谢

<a href="http://www.vouov.com" rel="nofollow">清晨迷雾</a></li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=142&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/07/nginx-windows/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>数据结构算法演示系统 - DSDemo</title>
		<link>http://applife.net/2008/06/dsdemo/</link>
		<comments>http://applife.net/2008/06/dsdemo/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 06:37:56 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[应用软件]]></category>
		<category><![CDATA[编程开发]]></category>
		<category><![CDATA[demo]]></category>

		<guid isPermaLink="false">http://applife.net/2008/06/dsdemo/</guid>
		<description><![CDATA[临近期末，考试开始，软件生活更新速度可能会变慢。
最近复习，发现数据结构有点难，想到老师上课的时候有个演示软件很不错，就要了过来。
数据结构是什么呢？维基百科的解释如下：
... ]]></description>
			<content:encoded><![CDATA[<p><font size="1">临近期末，考试开始，<a href="http://applife.net" target="_blank">软件生活</a>更新速度可能会变慢。</font></p>
<p>最近复习，发现数据结构有点难，想到老师上课的时候有个演示软件很不错，就要了过来。</p>
<p>数据结构是什么呢？<a href="http://zh.wikipedia.org/wiki/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84" target="_blank">维基百科</a>的解释如下：</p>
<blockquote><p>在计算机科学中，数据结构（data structure）是计算机中存储、组织数据的方式。通常情况下，精心选择的数据结构可以带来最优效率的算法。一般而言，数据结构的选择首先会从抽象数据类型的选择开始。一个设计良好的数据结构，应该在尽可能使用较少的时间与空间资源的前提下，为各种临界状态下的运行提供支持。数据结构可通过编程语言所提供的数据类型、引用及其他操作加以实现。</p>
</blockquote>
<p>DSDemo是一个数据结构的算法演示软件，虽然软件有点老，但十分好用。</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811a752eed011a762b5427139e"><img height="443" src="http://img.applife.net/2008/473805b2dd39.jpg" width="500" border="0"></a></p>
<p>提供Pascal和C两种语言，可随时切换。</p>
<p><span id="more-113"></span></p>
<p>网上<a href="http://www.google.com/search?q=dsdemo&amp;hl=zh-CN" target="_blank">查找</a>了一下，发现这个软件原来是《数据结构(C语言版)》的配书光盘上的，清华大学出版社2002年出版。</p>
<p>我选择C语言，打开其中一个算法演示，随机输入了一些数据，执行：</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811a7531bd011a76337f4813e5"><img height="366" src="http://img.applife.net/2008/866845b2df57.jpg" width="500" border="0"></a></p>
<p>软件开始自动演示，每一步都有图像和算法相对应，还可以随时暂停。</p>
<p>当然，你也可以进行单步执行、跟踪和断点等等，和调试程序一样方便。</p>
<p>支持的算法非常多，应该涵盖了大多数数据结构的算法。</p>
<p>唯一不爽的就是界面难看了一点，稍微有点不习惯。</p>
<p>里面还有一个DOS版本，全中文的，推荐到<a href="http://www.dosbox.com/" target="_blank">DosBox</a>下运行吧，Win下直接运行似乎有点问题……</p>
<p>&nbsp;</p>
<blockquote><p>《数据结构(C语言版)》
<p>配书光盘
<p>版权所有(C)&nbsp; 清华大学出版社<br />2002年6月<br />本光盘是《数据结构(C语言版)》一书的配书光盘，作为数据结构课程的辅助学习工具。
<p>1. 光盘运行环境
<p>硬件：Pentium 100以上多媒体PC机。<br />软件：Windows 95/98/Me/2000/XP 操作系统。
<p>2. 盘中内容
<p>\DSDemoW&nbsp;&nbsp;&nbsp; 数据结构算法演示系统（Windows版）β测试版<br />\DSDemoC&nbsp;&nbsp;&nbsp; 数据结构算法演示系统（C语言描述）V3.1C中文版<br />Readme.txt&nbsp; 光盘使用说明</p>
<p>3. 使用光盘</p>
<p>(1) 进入光盘中的\DSDemoW 目录，运行DSdemoW.EXE，可以进入数据结构算法演示系统（Windows版）β测试版的主界面。该版本的演示系统提供了 Pascal 和 C 两种程序设计语言的演示和算法源程序。欢迎各位读者对该软件提出改进意见。
<p>关于演示软件的数据结构算法演示系统（Windows版）用法，可以参考\DSDemoW目录下的Manual.doc文件可以用Microsoft Word 97及以上版本打开该文件。<br />(2) 进入光盘中的“\DSDemoC”目录，运行DSDemo.EXE，可以进入数据结构算法演示系统（C语言描述）V3.1C中文版。该软件是在原DOS版程序基础上改进而成，具体操作请按照界面上的提示进行。</p>
</blockquote>
<p>&nbsp;</p>
<p>下载（2.36M）：<a href="http://applife.net/u/107" target="_blank">fs2you</a> | <a href="http://applife.net/2008/06/DSDemo/" target="_blank">来自软件生活</a> | <a href="http://applife.net/u/108" target="_blank">纳米盘</a> | <a href="http://applife.net/u/109" target="_blank">新浪iask</a> | <a href="http://applife.net/u/110" target="_blank">mediafire</a> | <a href="http://applife.net/u/111" target="_blank">divshare</a> | <a href="http://applife.net/u/112" target="_blank">easy-share</a></p>
<p>PS：文件夹<u>DSDemoC</u>是<u>DOS</u>版本，另一个<u>DSDemoW</u>是<u>Windows</u>版本。</p>
<h3>不妨看看这些</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/08/fontcreator-and-beijing-2008-font/" title="打造自己的字体 &#8211; FontCreator （附送北京2008奥运字体）">打造自己的字体 &#8211; FontCreator （附送北京2008奥运字体） (16)</a></li>
<li><a href="http://applife.net/2008/04/fix-wp-some-error-and-sidebar/" title="解决Blog一些小问题和调整一下侧边栏">解决Blog一些小问题和调整一下侧边栏 (0)</a></li>
<li><a href="http://applife.net/2009/03/advanced-archive-password-recovery/" title="通杀各种压缩包密码 &#8211; Advanced Archive Password Recovery">通杀各种压缩包密码 &#8211; Advanced Archive Password Recovery (16)</a></li>
<li><a href="http://applife.net/2009/04/sogou-explorer/" title="教育网和公网双向代理 &#8211; 搜狗浏览器">教育网和公网双向代理 &#8211; 搜狗浏览器 (11)</a></li>
<li><a href="http://applife.net/2008/11/c32asm/" title="国产反汇编工具和16进制编辑器 &#8211; C32asm">国产反汇编工具和16进制编辑器 &#8211; C32asm (16)</a></li>
<li><a href="http://applife.net/2008/07/mdb-viewer-plus/" title="不用Access也能操作MDB文件 &#8211; MDB Viewer Plus">不用Access也能操作MDB文件 &#8211; MDB Viewer Plus (13)</a></li>
<li><a href="http://applife.net/2008/05/shouji-com-locating-api/" title="集成归属地查询到你的网站或程序 &#8211; 手机在线提供免费API服务">集成归属地查询到你的网站或程序 &#8211; 手机在线提供免费API服务 (2)</a></li>
<li><a href="http://applife.net/2008/04/baiduhi-plus/" title="首款百度Hi增强工具 &#8211; 百度Hi助手">首款百度Hi增强工具 &#8211; 百度Hi助手 (1)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F06%2Fdsdemo%2F&title=%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E7%AE%97%E6%B3%95%E6%BC%94%E7%A4%BA%E7%B3%BB%E7%BB%9F+-+DSDemo" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li><a href='http://www.eemir3.com' rel='external nofollow' class='url'>yacca</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-514">2008-06-11</a>发表评论：数据结构...当初我学这个课时没少花心思在过它上...主要是学习不自觉...-.-</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-515">2008-06-11</a>发表评论：哈哈 :mrgreen:</li><li><a href='http://blog.yiyidu.com/' rel='external nofollow' class='url'>一亿度</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-516">2008-06-11</a>发表评论：晕，你还在读书啊，小P孩～～</li><li><a href='http://www.heey.cn' rel='external nofollow' class='url'>Heey</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-518">2008-06-11</a>发表评论：好不容易才把数据结构混过去.... :shock:</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-519">2008-06-11</a>发表评论：我的实际年龄可能比你想象中的还要小很多……
你没发现我叫yacca都是叫大叔吗？现在又多了一个一亿度大叔，哈哈！</li><li><a href='http://www.ignuts.com' rel='external nofollow' class='url'>ignuts</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-520">2008-06-12</a>发表评论：呵呵，这是严书配套的。数据结构没看半年，我连堆排序都忘了。</li><li><a href='http://roamlog.cn' rel='external nofollow' class='url'>漫步</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-521">2008-06-12</a>发表评论：在学校的时候经常折腾这东东,现在很少折腾了,都快忘了.</li><li><a href='http://17i8.org' rel='external nofollow' class='url'>一个大妈</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-523">2008-06-12</a>发表评论：大妈当年这个学的还不错 :cool:</li><li><a href='http://www.chunaove.cn' rel='external nofollow' class='url'>xiaomo</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-528">2008-06-12</a>发表评论：不懂 :neutral:  :neutral:</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-531">2008-06-13</a>发表评论：小墨不是学这个的，不懂很正常 :lol:</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-532">2008-06-13</a>发表评论：大妈真厉害 :mrgreen:</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-533">2008-06-13</a>发表评论：我觉得数据结构是基础的东西，会潜移默化的影响你，以后虽然不直接用到，但不学好绝对有影响的。</li><li><a href='http://soulhuman.blogbus.com/' rel='external nofollow' class='url'>soulhuman</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-581">2008-06-15</a>发表评论：好像很有用哦！这篇文章收藏了。</li><li><a href='http://forerunner.yo2.cn' rel='external nofollow' class='url'>行者自若</a>在<a href="http://applife.net/2008/06/dsdemo/#comment-1968">2008-09-09</a>发表评论：哇塞，这可是一个好东西~~当初考试的时候我脑子里乱七八糟的，虽然考了95，但说真的具体的细节我现在已经模糊得差不多了。。。</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=113&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/06/dsdemo/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>用php把utf8的中的BOM去掉</title>
		<link>http://applife.net/2008/05/remove-bom-in-utf8/</link>
		<comments>http://applife.net/2008/05/remove-bom-in-utf8/#comments</comments>
		<pubDate>Tue, 06 May 2008 13:42:59 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[实用技巧]]></category>
		<category><![CDATA[编程开发]]></category>
		<category><![CDATA[ansi]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://applife.net/2008/05/remove-bom-in-utf8/</guid>
		<description><![CDATA[前几天我终于把困扰已久的主题变形问题解决了，并最终判断是utf8惹得祸。
当时我是打开每个文件，检查编码，如果不对的就另存为正确的编码。不过这样十分麻烦，而是浪费时间。好在要处... ]]></description>
			<content:encoded><![CDATA[<p>前几天我终于把困扰已久的<a href="http://applife.net/2008/05/utf8-make-theme-error-fixed/" target="_blank">主题变形</a>问题解决了，并最终判断是utf8惹得祸。</p>
<p>当时我是打开每个文件，检查编码，如果不对的就另存为正确的编码。不过这样十分麻烦，而是浪费时间。好在要处理的文件不多，而且是一次性操作，也就没管了。</p>
<p>今天看到一段不错的php程序，可以自动把你所有的文件的BOM去掉，而这全部过程只需要上传并运行一下，非常不错，保留下来方便下次使用。</p>
<p>另外，对于ultraedit的用户来说，可以在ultraedit.ini中修改一下设置，这样就不用每次都特别留意这个问题了。</p>
<blockquote><p>Write UTF-8 BOM=0<br />Write UTF-8 BOM NF=0</p>
</blockquote>
<p>这段php程序如下，保存成php文件放在根目录中执行一次就行了，会自动去除文件头中的BOM。</p>
<p><span id="more-73"></span></p>
<div>
<div style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   1:</span> &lt;?php</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   2:</span> <span style="color: #008000">//remove the utf-8 boms</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   3:</span> <span style="color: #008000">//by magicbug at gmail dot com</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   4:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   5:</span> <span style="color: #0000ff">if</span> (isset($_GET[<span style="color: #006080">'dir'</span>])){ <span style="color: #008000">//config the basedir</span></pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   6:</span>     $basedir=$_GET[<span style="color: #006080">'dir'</span>];</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   7:</span> }<span style="color: #0000ff">else</span>{</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   8:</span>     $basedir = <span style="color: #006080">'.'</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">   9:</span> } </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  10:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  11:</span> $auto = 1; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  12:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  13:</span> checkdir($basedir);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  14:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  15:</span> <span style="color: #0000ff">function</span> checkdir($basedir){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  16:</span>     <span style="color: #0000ff">if</span> ($dh = opendir($basedir)) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  17:</span>         <span style="color: #0000ff">while</span> (($file = readdir($dh)) !== <span style="color: #0000ff">false</span>) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  18:</span>             <span style="color: #0000ff">if</span> ($file != <span style="color: #006080">'.'</span> &amp;&amp; $file != <span style="color: #006080">'..'</span>){</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  19:</span>                 <span style="color: #0000ff">if</span> (!is_dir($basedir.<span style="color: #006080">"/"</span>.$file)) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  20:</span>                     echo <span style="color: #006080">"filename: $basedir/$file "</span>.checkBOM(<span style="color: #006080">"$basedir/$file"</span>).<span style="color: #006080">" &lt;br&gt;"</span>;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  21:</span>                 }<span style="color: #0000ff">else</span>{</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  22:</span>                     $dirname = $basedir.<span style="color: #006080">"/"</span>.$file;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  23:</span>                     checkdir($dirname);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  24:</span>                 }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  25:</span>             }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  26:</span>         }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  27:</span>     closedir($dh);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  28:</span>     }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  29:</span> }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  30:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  31:</span> <span style="color: #0000ff">function</span> checkBOM ($filename) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  32:</span>     global $auto;</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  33:</span>     $contents = file_get_contents($filename);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  34:</span>     $charset[1] = substr($contents, 0, 1); </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  35:</span>     $charset[2] = substr($contents, 1, 1); </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  36:</span>     $charset[3] = substr($contents, 2, 1); </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  37:</span>     <span style="color: #0000ff">if</span> (ord($charset[1]) == 239 &amp;&amp; ord($charset[2]) == 187 &amp;&amp; ord($charset[3]) == 191) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  38:</span>         <span style="color: #0000ff">if</span> ($auto == 1) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  39:</span>             $rest = substr($contents, 3);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  40:</span>             rewrite ($filename, $rest);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  41:</span>             <span style="color: #0000ff">return</span> (<span style="color: #006080">"&lt;font color=red&gt;BOM found, automatically removed.&lt;/font&gt;"</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  42:</span>         } <span style="color: #0000ff">else</span> {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  43:</span>             <span style="color: #0000ff">return</span> (<span style="color: #006080">"&lt;font color=red&gt;BOM found.&lt;/font&gt;"</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  44:</span>         }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  45:</span>     } </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  46:</span>     <span style="color: #0000ff">else</span> <span style="color: #0000ff">return</span> (<span style="color: #006080">"BOM Not Found."</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  47:</span> }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  48:</span>&nbsp; </pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  49:</span> <span style="color: #0000ff">function</span> rewrite ($filename, $data) {</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  50:</span>     $filenum = fopen($filename, <span style="color: #006080">"w"</span>);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  51:</span>     flock($filenum, LOCK_EX);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  52:</span>     fwrite($filenum, $data);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  53:</span>     fclose($filenum);</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  54:</span> }</pre>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"><span style="color: #606060">  55:</span> ?&gt;</pre>
</div>
</div>
<p><a href="http://s.evxz.com/file/232/remove-bom-in-utf8-rar.html" target="_blank">这里</a>有保存好的php文件，下载回来直接用就可以了。</p>
</p>
<p>PS：首次在WLW中用Code Snippet插入代码，看看效果如何。没有PHP类型选，只能选了一个相近的类型高亮代码。</p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/06/instgb5/" title="最快的简繁转换工具 &#8211; InstGB5">最快的简繁转换工具 &#8211; InstGB5 (30)</a></li>
<li><a href="http://applife.net/2008/06/t2s-and-s2t/" title="最简单的简繁转换工具 &#8211; T2S">最简单的简繁转换工具 &#8211; T2S (10)</a></li>
<li><a href="http://applife.net/2008/03/ansi2uni/" title="只有6k的文本编码转换工具 &#8211; Ansi2Unicode">只有6k的文本编码转换工具 &#8211; Ansi2Unicode (1)</a></li>
<li><a href="http://applife.net/2009/02/come-back-and-upgrade-wordpress-271/" title="回来啦和升级到wordpress 2.7.1">回来啦和升级到wordpress 2.7.1 (6)</a></li>
<li><a href="http://applife.net/2008/12/upgrade-wordpress-27-chinese-version/" title="升级到wordpress 2.7的官方中文版">升级到wordpress 2.7的官方中文版 (11)</a></li>
<li><a href="http://applife.net/2008/09/sqlyog-mysql-gui/" title="强大的图形化MySQL管理工具 &#8211; SQLyog MySQL GUI">强大的图形化MySQL管理工具 &#8211; SQLyog MySQL GUI (26)</a></li>
<li><a href="http://applife.net/2008/08/fs2you-to-rayfile/" title="fs2you启用新域名rayfile.com">fs2you启用新域名rayfile.com (49)</a></li>
<li><a href="http://applife.net/2008/08/something-and-upgrade-wordpress-261/" title="最近的一些事和升级到wordpress 2.6.1">最近的一些事和升级到wordpress 2.6.1 (25)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F05%2Fremove-bom-in-utf8%2F&title=%E7%94%A8php%E6%8A%8Autf8%E7%9A%84%E4%B8%AD%E7%9A%84BOM%E5%8E%BB%E6%8E%89" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li>jason在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-137">2008-05-06</a>发表评论：其实就是去掉文件的头三个字节而已</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-138">2008-05-06</a>发表评论：原理我知道啊。
我不介意你用其它语言重写一遍并编译成可执行文件……
别忘了在我这里首发啊。 :mrgreen:</li><li><a href='http://moontoc.com/' rel='external nofollow' class='url'>MoontoC</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-139">2008-05-07</a>发表评论：寒, 写php自然要去掉bom,常识话题了-_-,没啥必要单独个程序来作,啥编辑器都有,除了windows的

另外这程序效率好差,既然是有了fopen,就不该还有一个file_get_contents,

就一个fopen,用读写方式而不是用单纯的写方式,

操作一个文件还要加载两次,这效率-_-</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-140">2008-05-07</a>发表评论：唉，我是刚刚接触这些方面，所以很多东西不懂。
正在努力学习呢……

PS：你的blog居然还要注册，而且当我尝试注册老说验证码错误。</li><li><a href='http://moontoc.com/' rel='external nofollow' class='url'>MoontoC</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-141">2008-05-08</a>发表评论：需要注册是早期的从DH搬到国内服务器之后发现spam这样作的,现在貌似没必要了,不过验证码错误你可能是没把画面往下拉吧,验证码写在最下面的,,

不过无所谓,我把验证码去掉了,也开放了,不注册也可以评论了,反正评论本身就是不计数的</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-143">2008-05-08</a>发表评论：我看到了验证码，绝对正确输入了…… :wink: </li><li><a href='http://www.9usb.net' rel='external nofollow' class='url'>时光漂流瓶</a>在<a href="http://applife.net/2008/05/remove-bom-in-utf8/#comment-3004">2008-11-10</a>发表评论：如果涉及的php文件比较多的话，这段php代码还是有些用处的。</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=73&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/05/remove-bom-in-utf8/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 Beta1 简体中文版</title>
		<link>http://applife.net/2008/04/ie8-beta1-chs/</link>
		<comments>http://applife.net/2008/04/ie8-beta1-chs/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 05:18:47 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[网络软件]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://applife.net/2008/04/ie8-beta1-chs/</guid>
		<description><![CDATA[IE8 Beta1 中文版发布了，这次微软很给面子，除英语版本外，只发布了简体中文和德文的版本。
这个版本主要是面对网页开发人员，如果你是开放人员，不妨再下载一个Readiness Toolkit。
如果你不... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/china/windows/products/winfamily/ie/ie8/getitnow.mspx" target="_blank">IE8 Beta1 中文版</a>发布了，这次微软很给面子，除英语版本外，只发布了简体中文和德文的版本。</p>
<p>这个版本主要是面对网页开发人员，如果你是开放人员，不妨再下载一个<a href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/readiness/default.htm" target="_blank">Readiness Toolkit</a>。</p>
<p>如果你不进行开发，或者只是普通的使用，你可以单击命令栏中的 Emulate IE7 按钮浏览网页，就像使用 IE7 一样。</p>
<p><span id="more-36"></span></p>
<p>在过去十年中，层出不穷的 Web 应用和人们对互联网的依赖程度有显著的增加。Web 的发展带来了一系列新机遇、身临其境的体验、联机服务和标准。对于许多人来说，缺少互联网的生活是不可想象的。
<p>随着这种增加，Web 开发人员和设计人员面临着一系列新的需求，其中包括：
<ul>
<li>互操作性和兼容性
<li>对初次使用者、经验丰富的开发人员和设计人员正确构建页面均有帮助的内置工具
<li>实现崭新体验的浏览器功能 </li>
</ul>
<p>Internet Explorer 8 使 Web 体验涉及网页之外，无论您是撰写标准的 Web 开发人员，还是发现新联机服务的用户，Internet Explorer 8 都将引进全新的方法，使 Web 体验无缝化和最佳化。<br />
<blockquote>
<p>Internet Explorer 8 Beta 1（开发人员预览版）</p>
<p>欢迎访问 Internet Explorer 8 Beta 1 网站。Internet Explorer 8 Beta 1 是面向 Web 设计人员和开发人员的开发人员预览版本，旨在帮助他们使其网站做好启动 Internet Explorer 8 的准备。某些针对开发人员设计的新功能包括一个开发人员工具栏及经过改进的互操作性和兼容性。
<p>Internet Explorer 8 在设计上能够直接在标准模式下工作。但是，用户可以使用 Microsoft 提供的方法浏览 Web，即使用镶边上的“模仿 Internet Explorer 7”按钮，以与 Internet Explorer 7 相似的方式工作。<a href="http://go.microsoft.com/fwlink?LinkID=110281">了解更多信息。</a>
<p>使 Web 随时为您服务</p>
<p>Internet Explorer 8 使 Web 体验涉及网页之外。无论您是撰写标准的 Web 开发人员，还是发现新联机服务的用户，Internet Explorer 8 都将引入全新的方法，使 Web 体验无缝化。请即刻成为首批在您的网站和应用程序中利用 Internet Explorer 8 中改进功能的开发人员。<a href="http://www.microsoft.com/features.mspx">了解更多信息。</a></p>
</blockquote>
<p>由于是非正式版本，所以我暂时没有安装。不过安装之后是能卸载干净的，想尝鲜的朋友不用怕哦：</p>
<p><a href="http://www.yupoo.com/photos/view?id=ff8080811928d0f701192c675cb9435f"><img height="372" src="http://img.applife.net/2008/7697555e71b7.jpg" width="500" border="0"></a></p>
<p>&nbsp;</p>
<p>下载（14.4M）：<a href="http://download.microsoft.com/download/7/a/4/7a4b44ff-1e97-40fe-af08-33a819ccea77/IE8-WindowsXP-x86-CHS.exe" target="_blank">官方（XP版本）</a> | <a href="http://download.microsoft.com/download/1/6/6/1660dc85-4958-4b32-84ec-0c3be6b235c8/IE8-WindowsVista-x86-CHS.exe" target="_blank">官方（Vista版本）</a> | <a href="http://applife.net/2008/04/ie8-beta1-chs/" target="_blank">来自软件生活</a> | <a href="http://w16.easy-share.com/1700074792.html" target="_blank">easy-share（XP版本）</a></p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2009/04/sogou-explorer/" title="教育网和公网双向代理 &#8211; 搜狗浏览器">教育网和公网双向代理 &#8211; 搜狗浏览器 (11)</a></li>
<li><a href="http://applife.net/2009/04/xp-psd-psicon-dll/" title="让XP支持查看PSD略缩图 &#8211; psicon.dll">让XP支持查看PSD略缩图 &#8211; psicon.dll (27)</a></li>
<li><a href="http://applife.net/2008/12/minime/" title="一键解放你的任务栏——MiniMe">一键解放你的任务栏——MiniMe (20)</a></li>
<li><a href="http://applife.net/2008/12/cherokee-web-server/" title="比nginx还快的HTTP服务器 &#8211; Cherokee">比nginx还快的HTTP服务器 &#8211; Cherokee (10)</a></li>
<li><a href="http://applife.net/2008/11/svchost-viewer/" title="看清每个svchost.exe在干什么 &#8211; svchost viewer">看清每个svchost.exe在干什么 &#8211; svchost viewer (10)</a></li>
<li><a href="http://applife.net/2008/10/windows-embedded-theme/" title="真正微软官方主题 &#8211; Windows Embedded Theme">真正微软官方主题 &#8211; Windows Embedded Theme (29)</a></li>
<li><a href="http://applife.net/2008/10/chm-decoder/" title="完美CHM反编译工具 &#8211; CHM Decoder">完美CHM反编译工具 &#8211; CHM Decoder (18)</a></li>
<li><a href="http://applife.net/2008/09/crc-verification-utility/" title="微软专用CRC工具 &#8211; CRC Verification Utility">微软专用CRC工具 &#8211; CRC Verification Utility (11)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F04%2Fie8-beta1-chs%2F&title=Internet+Explorer+8+Beta1+%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%E7%89%88" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li>jason在<a href="http://applife.net/2008/04/ie8-beta1-chs/#comment-37">2008-04-08</a>发表评论：猜测一下，只发布中文版是否是因为中文的网页是最不规范的呢？英文是通用的，德文呢。。就不得而知了</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/ie8-beta1-chs/#comment-41">2008-04-08</a>发表评论：我猜测是因为中文网页实在太多了，所以不得不重视这个市场。</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=36&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/04/ie8-beta1-chs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>万能脱壳工具 - QuickUnpack 2.1 汉化版</title>
		<link>http://applife.net/2008/04/quickunpack/</link>
		<comments>http://applife.net/2008/04/quickunpack/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 16:17:51 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[应用软件]]></category>
		<category><![CDATA[编程开发]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://applife.net/2008/04/quickunpack/</guid>
		<description><![CDATA[QuickUnpack是一个通用的脱壳工具，他能够脱绝大部分压缩壳和小部分加密壳。
一般来说，软件作者会给自己准备发布的软件进行加壳处理，这样做一是可以减少软件的体积，二是可以一定程度... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://qunpack.ahteam.org/" target="_blank">QuickUnpack</a>是一个通用的脱壳工具，他能够脱绝大部分压缩壳和小部分加密壳。</p>
<p>一般来说，软件作者会给自己准备发布的软件进行加壳处理，这样做一是可以减少软件的体积，二是可以一定程度上的防止软件被逆向工程。</p>
<p>加壳软件一般分为两类，一是压缩壳，例如<a href="http://upx.sourceforge.net/" target="_blank">upx</a>和<a href="http://www.aspack.com/" target="_blank">aspack</a>。另一类是加密壳，例如<a href="http://www.oreans.com/" target="_blank">themida</a>和<a href="http://www.aspack.com/" target="_blank">asprotect</a>。QuickUnpack适合对前者脱壳。</p>
<p>当你要对一个软件进行汉化或者做其他修改时，如果软件被加壳，就需要对先软件进行脱壳处理。脱壳是非常复杂的，需要丰富的软件调试和汇编知识。特别是加密壳，这其实是一个软件破解过程。</p>
<p><span id="more-33"></span></p>
<p>QuickUnpack是我用过的最好的脱壳程序，几乎能脱掉大部分的壳。上一个版本2.0 final大约在半年前发布，这次发布的是2.1版本，根据官方说明，可以脱掉以下的壳：</p>
<blockquote><p>32Lite<br />AnslymPacker<br />AREA51 Cryptor<br />Armadillo (minimal protection)<br />AsdPack<br />ASPack<br />ASProtect (old versions)<br />BeroEXEPacker<br />CD-Cops<br />DDeM<br />depack<br />DragonArmor<br />Exe32Pack<br />ExeCryptor (old versions)<br />ExeFog<br />ExeSax<br />ExeShield<br />ExeStealth<br />fEaRz Crypter<br />FreeCryptor<br />FriCryptor<br />FSG<br />HidePE<br />HidePX<br />hmimys-Packer<br />JDPack<br />KByS<br />kkrunchy<br />LameCrypt<br />Manolo<br />MEW<br />Minke<br />NeoLite<br />NME<br />NsPack<br />Orien<br />PackMan<br />PECompact<br />PEDiminisher<br />PE-PACK<br />PEncrypt<br />Perplex PE-Protector<br />PeTite<br />PEX<br />PI Cryptor<br />PKLite32<br />PollyBox<br />PolyEnE<br />Protection Plus<br />QrYPt0r NuTraL Poly<br />QuickPack<br />RLPack<br />Sopelka<br />StealthPE<br />TeLock (not all versions)<br />TheMida (minimal protection)<br />unnamed Scrambler<br />UPack<br />UPolyX<br />UProtector<br />UPX<br />WindOfCrypt<br />WinUPack<br />WWPack32<br />Yoda Crypter<br />Yoda Protector<br />YZPacker<br />...many others...</p>
</blockquote>
<p>相对于上一个版本，2.1做了如下的改进：<br />
<blockquote>
<p>[!] fixed many bugs like crash on some applications while restoration of resources<br />[!] multithreaded applications are now handled properly<br />[+] added ability to set end of module when tracing import functions. When a reference to import is found it's analysed if it leads to some space outside of the module (not to trace some internal functions). But some packers redirect import to the last section. This option is intended to aid this problem. This is RVA<br />[+] added ability to put import table at given RVA instead of adding extra section<br />[+] added ability to set RDTSC delta for RDTSC hook (see more on rdtsc_delta in Scripts.eng.txt)<br />[+] Load libraries only option added to import recovery methods. this option doesn't actually recover import it just puts 1 import function from every loaded DLL into the import table. thus dump will be loaded with all the necessary libraries and will use old addresses for import functions which were set by a protector. this option can be used if import redirection is too complicated but the dump will stop working after service pack or some other patch installation<br />[+] Execute functions while tracing import option is added. by default while tracing import functions are not executed but some protectors need result of these functions to operate correctly so this option can be used<br />[+] Process call xxx/jmp xxx option is added. some protectors change import calls and jumps from call [xxx]/jmp [xxx] to call xxx/jmp xxx. this option is intended to work also with these redirections<br />[+] added several new functions and variables for the scripts<br />[+] UsAr's generic OEP finder now supports DLLs<br />[+] new Vista manifest added</p>
</blockquote>
<p>&nbsp;
<p>由于是英文版的，我进行了简单的汉化，这样界面基本上是中文了。要官方英文版的点<a href="http://qunpack.ahteam.org/wp-content/uploads/2008/03/qunpack21.zip" target="_blank">这里</a>。
<p><a href="http://www.yupoo.com/photos/view?id=ff808081190a926b01192481793e5498" target="_blank"><img src="http://img.applife.net/2008/0229755c6c23.jpg"></a>
<p>软件功能很多，除了对exe文件脱壳，还能通过附加进程的方式对dll文件脱壳。另外除了手动脱壳，还能编写脚本进行自动脱壳。
<p>&nbsp;
<p>下载（1.1M）：<a href="http://s.evxz.com/file/188/QUnpack-applife-net-rar.html" target="_blank">S.eVxz</a> | <a href="http://applife.net/2008/04/quickunpack/" target="_blank">来自软件生活</a> | <a href="http://www.namipan.com/d/7918147ae74cf878e9e12a9b3c3735ea0ce16b63c2191200" target="_blank">纳米盘</a> | <a href="http://www.live-share.com/files/316971/QUnpack.applife.net.rar.html" target="_blank">live-share</a> | <a href="http://w16.easy-share.com/1700062601.html" target="_blank">easy-share</a> | <a href="http://www.mediafire.com/?wgll4dzluji" target="_blank">mediafire</a>
<p>&nbsp;
<p>PS：软件图标很有意思，不知道是不是作者的女友。看不清？没关系！这里有张大的，藏在软件资源里，一个彩蛋吧：</p>
<p><img src="http://img.applife.net/2008/7104355c6c23.jpg"></p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2009/05/winrar-sfx-patch/" title="去除winrar自解压exe的右键菜单 &#8211; WinRAR SFX Patch">去除winrar自解压exe的右键菜单 &#8211; WinRAR SFX Patch (25)</a></li>
<li><a href="http://applife.net/2008/06/trial-reset/" title="让试用版软件使用更长更久 &#8211; Trial-Reset">让试用版软件使用更长更久 &#8211; Trial-Reset (18)</a></li>
<li><a href="http://applife.net/2008/06/innogpw/" title="Inno Setup 密码获取器 &#8211; InnoGPW">Inno Setup 密码获取器 &#8211; InnoGPW (7)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F04%2Fquickunpack%2F&title=%E4%B8%87%E8%83%BD%E8%84%B1%E5%A3%B3%E5%B7%A5%E5%85%B7+-+QuickUnpack+2.1+%E6%B1%89%E5%8C%96%E7%89%88" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><h3>评论</h3><ul><li><a href='http://www.51doing.com' rel='external nofollow' class='url'>飞扬</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-38">2008-04-08</a>发表评论：呵呵，这个工具不错，我下载了！</li><li><a href='http://yangtx.com' rel='external nofollow' class='url'>Yangtx</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-39">2008-04-08</a>发表评论：真是地球村啊，sim卡ki扫描××全攻略是你写的吧？
http://www.black-xstar.com/blog/article.asp?id=383

我在丸子那里看到你的头像，蛮眼熟的，一对照就八九不离十了。</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-40">2008-04-08</a>发表评论：呵呵，的确是。
这个是我新博客，欢迎常来啊。</li><li><a href='http://www.e-xia.com' rel='external nofollow' class='url'>yixia</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-537">2008-06-13</a>发表评论：为啥不是作者而是他的女朋友 :?:</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-539">2008-06-13</a>发表评论：这只是我的猜测
你说的也有可能
 :smile:  :smile:  :smile:</li><li><a href='http://tireless.72pines.com/' rel='external nofollow' class='url'>tireless</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-540">2008-06-13</a>发表评论：我觉得最有可能的是，这是一张随便找来的性感图片。因为破解总是跟这类图片在一起的。要不你去找个下载keygen的网站，里面就有好多这类图片。</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-542">2008-06-13</a>发表评论：呵呵，也有可能的。
不过藏那么深，我就不是一般的。</li><li>ghd在<a href="http://applife.net/2008/04/quickunpack/#comment-1778">2008-09-01</a>发表评论：怎么下啊,不知vista系统能用吗</li><li><a href='http://www.clickgame.cn' rel='external nofollow' class='url'>美女甲</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-1880">2008-09-06</a>发表评论：下不了啊，谁来帮我一下</li><li>汉汉在<a href="http://applife.net/2008/04/quickunpack/#comment-2307">2008-10-02</a>发表评论：大哥在哪里面呀，怎么看不到下载的文字呀</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-2326">2008-10-03</a>发表评论：@汉汉, 什么意思？无法下载吗？</li><li>汉汉在<a href="http://applife.net/2008/04/quickunpack/#comment-2512">2008-10-16</a>发表评论：大哥，怎么脱不了的！！你能帮我看看吗？QQ：354848704麻烦你啦！！</li><li>涛涛在<a href="http://applife.net/2008/04/quickunpack/#comment-2824">2008-11-01</a>发表评论：怎么找不到下载的地方啊老大</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-2832">2008-11-02</a>发表评论：@涛涛, “下载（1.1M）：”这后面的链接全是下载地址啊……</li><li>想脱壳在<a href="http://applife.net/2008/04/quickunpack/#comment-4605">2009-03-25</a>发表评论：请问有这个使用说明吗？ 怎么脱不  最后有实例图形的word说明，谢谢
我邮箱：shaoyan1688@163.com</li><li>┮Ψ︶ㄣ曉佐在<a href="http://applife.net/2008/04/quickunpack/#comment-4967">2009-04-22</a>发表评论：下载不料呢.....
帮下我吧 加我Q78370376  ...谢谢</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-4976">2009-04-23</a>发表评论：不好意思，我不常用QQ的。可以发email给我。</li><li>沉默是金在<a href="http://applife.net/2008/04/quickunpack/#comment-5233">2009-05-14</a>发表评论：哦   上次看了我就眼熟  想起来了   这女的好像是我前一段看的一个国外资讯里的照片，这女的被警察抓住了，她和狗狗XXOO</li><li>YXI在<a href="http://applife.net/2008/04/quickunpack/#comment-5599">2009-06-04</a>发表评论：第一次接触脱壳</li><li>YXI在<a href="http://applife.net/2008/04/quickunpack/#comment-5600">2009-06-04</a>发表评论：怎么下载？</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-5607">2009-06-04</a>发表评论：<a href="#comment-5600" rel="nofollow">@YXI</a>, 下载后面有很多链接，点一个就可以了。</li><li>EPT在<a href="http://applife.net/2008/04/quickunpack/#comment-5724">2009-06-10</a>发表评论：:mad: 怎么找不到下载地址？？</li><li><a href='http://www.black-xstar.com/blog' rel='external nofollow' class='url'>Black-Xstar</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-5727">2009-06-10</a>发表评论：<a href="#comment-5724" rel="nofollow">@EPT</a>, 下载（1.1M）：
这后面的链接都是啊……</li><li><a href='http://blog.163.com/wdtxslqnn/' rel='external nofollow' class='url'>一叶偏舟</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-7595">2009-08-30</a>发表评论：似乎找不到下载地址:搞得太隐蔽了,
    颜色也明显点吧!
  难找!</li><li><a href='http://blog.163.com/wdtxslqnn/' rel='external nofollow' class='url'>一叶偏舟</a>在<a href="http://applife.net/2008/04/quickunpack/#comment-7597">2009-08-30</a>发表评论：链接太多了，不过还是找到了
      谢谢了！</li><li>唱着情歌流浪在<a href="http://applife.net/2008/04/quickunpack/#comment-7759">2009-09-03</a>发表评论：怎么下    不懂</li><li>好东西在<a href="http://applife.net/2008/04/quickunpack/#comment-9035">2009-10-02</a>发表评论：:shock: 怎么下载呢？</li><li>poloyoyo在<a href="http://applife.net/2008/04/quickunpack/#comment-9606">2009-10-23</a>发表评论：大师，感谢你的介绍，在使用中，我试着进行脱壳了好几个EXE文件。可是都显示ODE文件不正确，不知何故很郁闷。肯望大师能告诉我，为什么？谢谢。</li></ul><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=33&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/04/quickunpack/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>在PC上体验Windows Mobile - 微软官方的模拟器</title>
		<link>http://applife.net/2008/04/windows-mobile-emulator/</link>
		<comments>http://applife.net/2008/04/windows-mobile-emulator/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 12:20:50 +0000</pubDate>
		<dc:creator>Black-Xstar</dc:creator>
				<category><![CDATA[应用软件]]></category>
		<category><![CDATA[手机软件]]></category>
		<category><![CDATA[编程开发]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://applife.net/2008/04/windows-mobile-emulator/</guid>
		<description><![CDATA[Windows Mobile是微软在手机领域使用的操作系统，其功能十分强大，有Pocket PC和Smartphone两个类型。硬件方面，台湾的HTC和其旗下的多普达垄断了全球90%以上的Windows Mobile手机。
我以前一直认为Symbi... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.microsoft.com/china/windowsmobile/" target="_blank">Windows Mobile</a>是微软在手机领域使用的操作系统，其功能十分强大，有Pocket PC和Smartphone两个类型。硬件方面，台湾的HTC和其旗下的多普达垄断了全球90%以上的Windows Mobile手机。</p>
<p>我以前一直认为Symbian是手机上最强大的系统，但自从使用了Windows Mobile的手机以来，才发觉微软更加强大。无论从硬件还是软件上看，都比Symbian高一个档次，但从另一个角度上看，Symbian比Windows Mobile更适合于手机使用。</p>
<p>如果你没有一款基于Windows Mobile的手机，但又很想体验这么强大的手机操作系统。或者你已经拥有了，安装软件之前想在模拟器上先测试一下。又或者你是开发者，想开发Windows Mobile平台的软件。</p>
<p>微软在每个新版本推出之后，都会提供相应的SDK和模拟器下载。前天最新Windows Mobile 6.1发布了，晚上也已经有最新的模拟器下载了。</p>
<p><span id="more-30"></span></p>
<p> Windows Mobile 6.1 Professional：</p>
<p><img src="http://img.applife.net/2008/076085588a02.jpg"> <img src="http://img.applife.net/2008/832635588a05.jpg"> </p>
<p>Windows Mobile 6 Standard CHS，就是我现在用的操作系统啦：</p>
<p><img src="http://img.applife.net/2008/972105588a05.jpg"> <img src="http://img.applife.net/2008/113725588a06.jpg"> <img src="http://img.applife.net/2008/141355588a06.jpg"> </p>
<p>&nbsp;</p>
<p>微软官方直接下载地址：（为获得更快速度，推荐用迅雷多线程下载，嘿嘿）</p>
<p><a href="http://download.microsoft.com/download/d/c/7/dc73c8e7-f9c3-49de-821f-5588eeefcac4/Windows Mobile 6.1 Professional Images (USA).msi" target="_blank">Windows Mobile 6.1 Professional USA</a> | <a href="http://download.microsoft.com/download/d/c/7/dc73c8e7-f9c3-49de-821f-5588eeefcac4/Windows Mobile 6.1 Standard Images (USA).msi" target="_blank">Windows Mobile 6.1 Standard USA</a> | <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3d6f581e-c093-4b15-ab0c-a2ce5bffdb47" target="_blank">相关网页</a> | <a href="http://applife.net/2008/04/windows-mobile-emulator/" target="_blank">来自软件生活</a></p>
<p><a href="http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows Mobile 6 Professional Images (CHS).msi" target="_blank">Windows Mobile 6 Professional CHS</a> | <a href="http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows Mobile 6 Standard Images (CHS).msi" target="_blank">Windows Mobile 6 Standard CHS</a> | <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582" target="_blank">相关网页和其他语言版本</a></p>
<p>其他版本网页：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=eec33ae3-c129-4c25-abaa-18e8e842178f" target="_blank">Windows Mobile 5.0 Pocket PC</a> | <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=52fed581-8f8d-4c46-9966-4832098191b7" target="_blank">Windows Mobile 5 Smartphone</a></p>
<h3>可能还感兴趣</h3>
<ul class="related_post">
<li><a href="http://applife.net/2008/04/windows-mobile-windows-live-g2/" title="Windows Mobile 版 Windows Live (G2) 10.6.0038.2701 下载">Windows Mobile 版 Windows Live (G2) 10.6.0038.2701 下载 (1)</a></li>
<li><a href="http://applife.net/2009/04/xp-psd-psicon-dll/" title="让XP支持查看PSD略缩图 &#8211; psicon.dll">让XP支持查看PSD略缩图 &#8211; psicon.dll (27)</a></li>
<li><a href="http://applife.net/2008/12/minime/" title="一键解放你的任务栏——MiniMe">一键解放你的任务栏——MiniMe (20)</a></li>
<li><a href="http://applife.net/2008/12/cherokee-web-server/" title="比nginx还快的HTTP服务器 &#8211; Cherokee">比nginx还快的HTTP服务器 &#8211; Cherokee (10)</a></li>
<li><a href="http://applife.net/2008/11/svchost-viewer/" title="看清每个svchost.exe在干什么 &#8211; svchost viewer">看清每个svchost.exe在干什么 &#8211; svchost viewer (10)</a></li>
<li><a href="http://applife.net/2008/10/windows-embedded-theme/" title="真正微软官方主题 &#8211; Windows Embedded Theme">真正微软官方主题 &#8211; Windows Embedded Theme (29)</a></li>
<li><a href="http://applife.net/2008/10/chm-decoder/" title="完美CHM反编译工具 &#8211; CHM Decoder">完美CHM反编译工具 &#8211; CHM Decoder (18)</a></li>
<li><a href="http://applife.net/2008/09/crc-verification-utility/" title="微软专用CRC工具 &#8211; CRC Verification Utility">微软专用CRC工具 &#8211; CRC Verification Utility (11)</a></li>
</ul>
<p><a href="http://17fav.com/?url=http%3A%2F%2Fapplife.net%2F2008%2F04%2Fwindows-mobile-emulator%2F&title=%E5%9C%A8PC%E4%B8%8A%E4%BD%93%E9%AA%8CWindows+Mobile+-+%E5%BE%AE%E8%BD%AF%E5%AE%98%E6%96%B9%E7%9A%84%E6%A8%A1%E6%8B%9F%E5%99%A8" title="用 17fav 收藏和分享本文"><img src="http://17fav.com/i/bookmark.gif" alt="17fav 收藏本文" /></a></p><hr /><small>Copyright &copy; 2008 软件生活 &copy; 1998-2008 <a href="http://www.black-xstar.com/blog" title="Black-Xstar's Blog">Black-Xstar</a> All rights reserved.<br />所有文章都为原创作品，仅供个人或者非商业使用，保留所有权利。<br />转载请遵守<a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/deed.zh" title="Creative Commons">知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议</a>并来信告知，谢谢合作！<br />[ AppLife.Net | Black-Xstar.com | (38.107.191.112) ]</small><img src="http://img.tongji.linezing.com/711829/tongji.gif" /><img src="http://applife.net/?ak_action=api_record_view&id=30&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://applife.net/2008/04/windows-mobile-emulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
