<?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>Hacklog</title>
	<atom:link href="http://www.ihacklog.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ihacklog.com</link>
	<description>荒野无灯weblog</description>
	<lastBuildDate>Mon, 06 Sep 2010 04:03:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>QQ企业邮箱试用</title>
		<link>http://www.ihacklog.com/internet_software/cool_software_share/qq-exmail.html</link>
		<comments>http://www.ihacklog.com/internet_software/cool_software_share/qq-exmail.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 03:56:54 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[酷软分享]]></category>
		<category><![CDATA[QQ企业邮箱]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4064</guid>
		<description><![CDATA[收到TX发来的邀请函: 尊敬的用户，您好： 腾讯企业邮箱现已开始公测，诚邀QQ邮箱用户优先体验。 这是一项面向中小企业、组织的免费邮箱服务，只要有域名就能使用。 欢迎凭邀请码 xxxxxxxxxx... ]]></description>
			<content:encoded><![CDATA[<p>收到TX发来的邀请函:</p>
<blockquote><p>
尊敬的用户，您好：</p>
<p>腾讯企业邮箱现已开始公测，诚邀QQ邮箱用户优先体验。<br />
这是一项面向中小企业、组织的免费邮箱服务，只要有域名就能使用。</p>
<p>欢迎凭邀请码 xxxxxxxxxxx 前往 http://exmail.qq.com 开通。</p>
<p>我有域名，现在就去试试<br />
附：腾讯企业邮箱功能速览 独立邮箱帐号数 	200个<br />
多域名支持 	5个<br />
邮箱容量 	无限制<br />
企业网盘 	2GB，内部共享<br />
普通附件 	50 MB<br />
超大附件 	1 GB/每个帐号<br />
短信支持 	来信提醒、备忘提醒<br />
全球互通、南北互联 	国内外10多个城市架设服务器<br />
防病毒 	卡巴斯基防病毒引擎<br />
反垃圾功能 	系统级反垃圾过滤，支持企业自定义黑白名单<br />
多种方式访问 	网页、POP3/SMTP、IMAP<br />
支持SSL 	全程SSL<br />
企业内部信息通知 	支持公告板和邮件群发<br />
帐号自主管理 	支持批量导入、邮件群组、分级管理<br />
企业地址本 	多级组织架构管理<br />
日志管理 	用户和管理员登录及常用操作记录<br />
企业LOGO 	支持自定义
</p></blockquote>
<p>注意:同一个域名只能使用企业邮箱或者域名邮箱之间的一种.为了吃这个螃蟹,哥忍痛把域名邮箱注销了. <img src='http://www.ihacklog.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':sad:' class='wp-smiley' /><br />
条件看上去比较吸引人呃,折腾之.<br />
进入 <a target="_blank" href="http://www.ihacklog.com/l.php?url=exmail.qq.com/cgi-bin/readtemplateorz__check=false&#038;t=bizmail_reg">http://exmail.qq.com/cgi-bin/readtemplate?check=false&#038;t=bizmail_reg</a><br />
填入邀请码和注册邮箱后,即会收到由TX发送的 标题为&#8221;腾讯企业邮箱：注册确认及验证密保邮箱&#8221; 的邮件,点击链接通过验证并创建后,就可以通 过<a target="_blank" href="http://www.ihacklog.com/l.php?url=https://exmail.qq.com/login">https://exmail.qq.com/login</a>来用刚才创建的账号(注意,这个账号不是邮箱账号)登录,<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_index.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_index-550x217.png" alt="" title="exmail_index" width="550" height="217" class="alignnone size-medium wp-image-4065" /> </a></p>
<p>可以添加分级管理员:<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_add_admin.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_add_admin-550x317.png" alt="" title="exmail_add_admin" width="550" height="317" class="alignnone size-medium wp-image-4066" /> </a></p>
<p>企业网盘:<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_webdisk.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_webdisk-550x276.png" alt="" title="exmail_webdisk" width="550" height="276" class="alignnone size-medium wp-image-4067" /> </a></p>
<p>日志管理:<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_log.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_log-550x205.png" alt="" title="exmail_log" width="550" height="205" class="alignnone size-medium wp-image-4068" /> </a></p>
<p>创建成员后可以登录啦:<br />
如我的申请域名是ihacklog.com ,那么登录地址是: <a target="_blank" href="http://www.ihacklog.com/l.php?url=https://exmail.qq.com/domain/ihacklog.com">https://exmail.qq.com/domain/ihacklog.com</a><br />
登录界面:<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_login.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_login-550x264.png" alt="" title="exmail_login" width="550" height="264" class="alignnone size-medium wp-image-4069" /> </a><br />
登录邮箱后:<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_mailbox.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_mailbox-550x206.png" alt="" title="exmail_mailbox" width="550" height="206" class="alignnone size-medium wp-image-4070" /> </a><br />
界面相当简洁,可供选择的皮肤只有三款.</p>
<p>发现这个企业邮箱与域名邮箱不同的是,这个邮箱与原来的QQ邮箱是完全独立的,有了企业邮箱后并不能直接通过QQ面板上的小信封图标进入企业邮箱,得另外设置一下:<br />
进入&#8221; 设置&#8221; ->&#8221;帐户&#8221;->&#8221;绑定我的QQ&#8221;,然后就可以绑定QQ号码了:</p>
<blockquote><p>可供选择的选项：<br />
点QQ面板的小信封进入企业邮箱<br />
从QQ、QQ邮箱进入企业邮箱需要输入密码
</p></blockquote>
<p><a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_setting.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/09/exmail_setting-550x368.png" alt="" title="exmail_setting" width="550" height="368" class="alignnone size-medium wp-image-4072" /> </a></p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/internet_software/cool_software_share/qq-exmail.html" title="Permanent Link to QQ企业邮箱试用">http://www.ihacklog.com/internet_software/cool_software_share/qq-exmail.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年12月2日  //  <a href="http://www.ihacklog.com/internet_software/cool_software_share/picpick.html" title="PicPick：很小很强大的截图工具">PicPick：很小很强大的截图工具</a> (2)</li><li>2009年10月24日  //  <a href="http://www.ihacklog.com/linux/ubuntu-desktop/update-graphic-driver-and-play-games-under-ubuntu.html" title="更换显卡驱动，Ubuntu也玩游戏">更换显卡驱动，Ubuntu也玩游戏</a> (9)</li><li>2010年03月11日  //  <a href="http://www.ihacklog.com/internet_software/tips/delete-evil-internet-explorer-iocn-on-desktop.html" title="删除流氓软件伪造的Internet Explorer">删除流氓软件伪造的Internet Explorer</a> (1)</li><li>2009年04月26日  //  <a href="http://www.ihacklog.com/xml_html_css_js_ajax/30exceptionalcssnavigationtechniques.html" title="30 Exceptional CSS Navigation Techniques">30 Exceptional CSS Navigation Techniques</a> (0)</li><li>2010年06月6日  //  <a href="http://www.ihacklog.com/internet_software/tips/php-wget-bat-down-youku-flv.html" title="PHP+wget+bat批量下载合并youku视频">PHP+wget+bat批量下载合并youku视频</a> (5)</li><li>2008年12月29日  //  <a href="http://www.ihacklog.com/memory/%e6%84%9f%e5%8a%a8%ef%bc%81%e8%be%9b%e9%85%b8%e7%9a%84%e6%84%9f%e5%8a%a8%ef%bc%81.html" title="感动！辛酸的感动！">感动！辛酸的感动！</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/internet_software/cool_software_share/qq-exmail.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>给WP加上无限分页</title>
		<link>http://www.ihacklog.com/wordpress/wpskills/unlimited-page-navigation-for-wordpress.html</link>
		<comments>http://www.ihacklog.com/wordpress/wpskills/unlimited-page-navigation-for-wordpress.html#comments</comments>
		<pubDate>Sun, 05 Sep 2010 13:01:24 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp技巧]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4062</guid>
		<description><![CDATA[这里要用到的这个JQ插件是由Paul Irish写的.名字叫:Infinite Scroll PS:其实这个JQ 插件的官网也有专门为WP准备的插件下载,插件我就不介绍下,介绍DIY方法. 第一步:添加js 把下载版的jquery.infinitescroll.min... ]]></description>
			<content:encoded><![CDATA[<p>这里要用到的这个JQ插件是由Paul Irish写的.名字叫:<strong><a target="_blank" href="http://www.ihacklog.com/l.php?url=www.infinite-scroll.com">Infinite Scroll</a></strong></p>
<blockquote><p>PS:其实这个JQ 插件的官网也有专门为WP准备的插件下载,插件我就不介绍下,介绍DIY方法.</p></blockquote>
<p><strong>第一步:添加js</strong></p>
<p>把下载版的jquery.infinitescroll.min.js 放到主题的js目录下面,然后就在footer.php的</p>
<div class="codecolorer-container html4strict default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a target="blank" href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span></div></td></tr></tbody></table></div>
<p>前加上:<br />
(其实在加在哪里无所谓,关键是要在你的JQ加载代码之后.) </p>
<blockquote><p>
注意根据你自己的模板修改:<br />
 nextSelector 页面导航链接的选择器<br />
 navSelector 页面导航的选择器<br />
itemSelector 日志的选择器
</p></blockquote>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> is_archive<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> is_category<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span><span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'template_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>/js/jquery.infinitescroll.min.js.php&quot;&gt;&lt;/script&gt;<br />
<br />
jQuery(document).ready(function($) {<br />
&nbsp; &nbsp; stylesheet_uri = $(&quot;link[rel='stylesheet']:eq(0)&quot;).attr(&quot;href&quot;).split(&quot;/&quot;);<br />
&nbsp; &nbsp; stylesheet_uri.length--;<br />
<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; $('#content').infinitescroll(<br />
&nbsp; &nbsp; { &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : false,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; preload &nbsp; &nbsp; &nbsp; &nbsp; : true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nextSelector &nbsp; &nbsp;: &quot;div.postnav a:first&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingImg &nbsp; &nbsp; &nbsp;: stylesheet_uri.join(&quot;/&quot;) + &quot;/images/ajax-loader.gif&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadingText &nbsp; &nbsp; : &quot;&lt;em&gt;加载中...&lt;/em&gt;&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; donetext &nbsp; &nbsp; &nbsp; &nbsp;: &quot;&lt;em&gt;后面没有啦.&lt;/em&gt;&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; navSelector &nbsp; &nbsp; : &quot;div.postnav&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; contentSelector : null, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // not really a selector. :) it's whatever the method was called on..<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; extraScrollPx &nbsp; : 250,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; itemSelector &nbsp; &nbsp;: &quot;div.post&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; animate &nbsp; &nbsp; &nbsp; &nbsp; : false,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; localMode &nbsp; &nbsp; &nbsp;: false,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bufferPx &nbsp; &nbsp; &nbsp; &nbsp;: 40,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; errorCallback &nbsp; : function(){}<br />
&nbsp; <br />
<br />
});<br />
&nbsp; &nbsp; <br />
});<br />
<br />
&nbsp; &nbsp; &lt;/script&gt;<br />
<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p><strong>第二步:修改模板</strong><br />
分别修改index.php     , archive.php , 在适当的地方加上:</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &lt;div class=&quot;postnav&quot;&gt;<br />
&nbsp; &nbsp; &lt;ul&gt;<br />
&nbsp; &nbsp; &lt;li&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> next_posts_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Older Entries'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;nbsp;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;li&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> previous_posts_link<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Newer Entries'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&amp;nbsp;&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;/ul&gt;<br />
&nbsp; &nbsp; &lt;/div&gt;</div></td></tr></tbody></table></div>
<p>效果就是现在我博客这样了.</p>
<p>TODO:<br />
添加数字分页显示和无限分页之间的切换功能. (有时间再做)<br />
本文相关文件下载:<br />
注意：该页面嵌入了下载文件，请访问该页面下载该文件。<br />
加载中图片下载:<br />
<img src="http://www.ihacklog.com/wordpress/wp-content/themes/greenthewebnews/images/ajax-loader.gif" alt="ajax loader" /></p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/wordpress/wpskills/unlimited-page-navigation-for-wordpress.html" title="Permanent Link to 给WP加上无限分页">http://www.ihacklog.com/wordpress/wpskills/unlimited-page-navigation-for-wordpress.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年06月2日  //  <a href="http://www.ihacklog.com/programming/c/rgb-and-hex-color-convertion-tool-win32.html" title="RGB和十六进制颜色值互转小工具(win32)">RGB和十六进制颜色值互转小工具(win32)</a> (6)</li><li>2009年11月7日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/protect-your-wordpress-article-copyright.html" title="对付垃圾站，就得来点“阴”的">对付垃圾站，就得来点“阴”的</a> (10)</li><li>2010年06月20日  //  <a href="http://www.ihacklog.com/memory/music/lilei-andhanmeimei.html" title="李雷和韩梅梅">李雷和韩梅梅</a> (6)</li><li>2010年04月20日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/none-plugin-fancy-gallery-for-wp.html" title="免插件为wp添加基于CSS3的超酷效果相册">免插件为wp添加基于CSS3的超酷效果相册</a> (10)</li><li>2009年06月11日  //  <a href="http://www.ihacklog.com/internet_software/anyrouterruanwangguan.html" title="AnyRouter(软网关)">AnyRouter(软网关)</a> (0)</li><li>2008年12月27日  //  <a href="http://www.ihacklog.com/internet_software/windows-xp-system-folder-intro.html" title="联想内部独家资料:windows XP 各个文件夹详细介绍">联想内部独家资料:windows XP 各个文件夹详细介绍</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/wordpress/wpskills/unlimited-page-navigation-for-wordpress.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>回学校了,心情比较沉重</title>
		<link>http://www.ihacklog.com/memory/hacklog/back-with-a-heavy-heart.html</link>
		<comments>http://www.ihacklog.com/memory/hacklog/back-with-a-heavy-heart.html#comments</comments>
		<pubDate>Fri, 03 Sep 2010 08:12:16 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4061</guid>
		<description><![CDATA[TMD ,除了C语言80以上,其它都是及格的+外加一门死挂挂. 这学期有得忙了. 抽时间把未审核的60多条留言审核/回复,然后&#8230;&#8230;&#8230;&#8230;好好学习. 喜欢这篇文章吗?请订阅本站 RSS feed 作者：荒... ]]></description>
			<content:encoded><![CDATA[<p> <img src='http://www.ihacklog.com/wordpress/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /><br />
TMD ,除了C语言80以上,其它都是及格的+外加一门死挂挂.<br />
这学期有得忙了.<br />
抽时间把未审核的60多条留言审核/回复,然后&#8230;&#8230;&#8230;&#8230;好好学习.</p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/memory/hacklog/back-with-a-heavy-heart.html" title="Permanent Link to 回学校了,心情比较沉重">http://www.ihacklog.com/memory/hacklog/back-with-a-heavy-heart.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年04月10日  //  <a href="http://www.ihacklog.com/server/setup-bind-proxy-server-under-windows-7.html" title="Windows下安装BIND作为DNS缓存服务器">Windows下安装BIND作为DNS缓存服务器</a> (6)</li><li>2008年11月29日  //  <a href="http://www.ihacklog.com/php/%e6%88%90%e5%b0%b1php%e9%ab%98%e6%89%8b%e7%9a%84%e4%ba%94%e4%b8%aa%e5%bf%85%e7%94%b1%e4%b9%8b%e8%b7%af.html" title="成就PHP高手的五个必由之路">成就PHP高手的五个必由之路</a> (2)</li><li>2009年03月5日  //  <a href="http://www.ihacklog.com/memory/%e9%83%81%e9%97%b7.html" title="郁闷">郁闷</a> (0)</li><li>2009年05月30日  //  <a href="http://www.ihacklog.com/memory/zhuanzhuanye.html" title="转专业">转专业</a> (8)</li><li>2009年10月2日  //  <a href="http://www.ihacklog.com/memory/install-windows-xp-for-hp-cq40-512tx.html" title="HP CQ40-512TX 装xp">HP CQ40-512TX 装xp</a> (8)</li><li>2009年04月25日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/wordpresszhongcategoriesdeyongfa.html" title="Wordpress 中 categories 的用法 ">Wordpress 中 categories 的用法 </a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/memory/hacklog/back-with-a-heavy-heart.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>手动升级WP到3.0.1版</title>
		<link>http://www.ihacklog.com/wordpress/wpskills/manually-upgrade-wp-to-wp3-0-1.html</link>
		<comments>http://www.ihacklog.com/wordpress/wpskills/manually-upgrade-wp-to-wp3-0-1.html#comments</comments>
		<pubDate>Fri, 30 Jul 2010 10:47:10 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp技巧]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4052</guid>
		<description><![CDATA[3.0.1做了些什么修改？ http://codex.wordpress.org/Version_3.0.1 我仔细地查看了http://core.trac.wordpress.org/query?status=closed&#038;group=resolution&#038;milestone=3.0.1发现3.0的BUG还真不少。 手动升级文件打包下载（从wo... ]]></description>
			<content:encoded><![CDATA[<p>3.0.1做了些什么<a target="_blank" href="http://www.ihacklog.com/l.php?url=codex.wordpress.org/Version_3.0.1">修改</a>？<br />
<a target="_blank" href="http://www.ihacklog.com/l.php?url=codex.wordpress.org/Version_3.0.1">http://codex.wordpress.org/Version_3.0.1</a></p>
<p>我仔细地查看了<a target="_blank" href="http://www.ihacklog.com/l.php?url=core.trac.wordpress.org/queryorz__status=closed&#038;group=resolution&#038;milestone=3.0.1">http://core.trac.wordpress.org/query?status=closed&#038;group=resolution&#038;milestone=3.0.1</a>发现3.0的BUG还真不少。</p>
<p><strong>手动升级文件打包下载（从wordpress3.0升级到3.0.1要覆盖的文件）：</strong></p>
注意：该页面嵌入了下载文件，请访问该页面下载该文件。
<p>  Summary</p>
<p>    * Fixed 55 tickets total. A break down of ticket status by component can be found in <a target="_blank" href="http://www.ihacklog.com/l.php?url=core.trac.wordpress.org/milestone/3.0.1"><strong>Trac</strong></a>.<br />
    * Added unregister_nav_menu(), for child themes. </p>
<p>List of Files Revised</p>
<blockquote><p>
wp-signup.php<br />
wp-includes/default-filters.php<br />
wp-includes/nav-menu-template.php<br />
wp-includes/taxonomy.php<br />
wp-includes/class-http.php<br />
wp-includes/update.php<br />
wp-includes/post.php<br />
wp-includes/version.php<br />
wp-includes/default-widgets.php<br />
wp-includes/theme.php<br />
wp-includes/comment-template.php<br />
wp-includes/ms-blogs.php<br />
wp-includes/query.php<br />
wp-includes/link-template.php<br />
wp-includes/wp-db.php<br />
wp-includes/formatting.php<br />
wp-includes/ms-deprecated.php<br />
wp-includes/general-template.php<br />
wp-includes/canonical.php<br />
wp-includes/capabilities.php<br />
wp-includes/ms-load.php<br />
wp-includes/classes.php<br />
wp-includes/deprecated.php<br />
wp-includes/kses.php<br />
wp-includes/ms-functions.php<br />
wp-includes/meta.php<br />
wp-includes/nav-menu.php<br />
wp-app.php<br />
xmlrpc.php<br />
wp-content/themes/twentyten/style.css<br />
wp-content/themes/twentyten/functions.php<br />
wp-content/themes/twentyten/loop.php<br />
wp-content/themes/twentyten/page.php<br />
wp-content/themes/twentyten/languages/twentyten.pot<br />
wp-content/themes/twentyten/editor-style.css<br />
wp-content/themes/twentyten/header.php<br />
wp-content/themes/twentyten/attachment.php<br />
readme.html<br />
wp-admin/ms-edit.php<br />
wp-admin/edit-comments.php<br />
wp-admin/admin-ajax.php<br />
wp-admin/includes/bookmark.php<br />
wp-admin/includes/post.php<br />
wp-admin/includes/dashboard.php<br />
wp-admin/includes/upgrade.php<br />
wp-admin/includes/class-wp-upgrader.php<br />
wp-admin/includes/schema.php<br />
wp-admin/includes/meta-boxes.php<br />
wp-admin/includes/update-core.php<br />
wp-admin/includes/template.php<br />
wp-admin/includes/user.php<br />
wp-admin/includes/ms.php<br />
wp-admin/includes/media.php<br />
wp-admin/includes/export.php<br />
wp-admin/includes/nav-menu.php<br />
wp-admin/includes/class-wp-importer.php<br />
wp-admin/edit-tags.php<br />
wp-admin/admin.php<br />
wp-admin/edit-attachment-rows.php<br />
wp-admin/ms-sites.php<br />
wp-admin/user-new.php<br />
wp-admin/menu.php<br />
wp-admin/nav-menus.php<br />
wp-admin/plugins.php<br />
wp-admin/edit.php<br />
wp-admin/press-this.php<br />
wp-admin/install.php<br />
wp-admin/update-core.php<br />
wp-admin/import.php<br />
wp-admin/export.php
</p></blockquote>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/wordpress/wpskills/manually-upgrade-wp-to-wp3-0-1.html" title="Permanent Link to 手动升级WP到3.0.1版">http://www.ihacklog.com/wordpress/wpskills/manually-upgrade-wp-to-wp3-0-1.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年04月5日  //  <a href="http://www.ihacklog.com/php/utf-8gb2312%e7%bc%96%e7%a0%81%e8%bd%ac%e6%8d%a2.html" title="UTF-8,GB2312编码转换">UTF-8,GB2312编码转换</a> (0)</li><li>2010年03月11日  //  <a href="http://www.ihacklog.com/internet_software/tips/delete-evil-internet-explorer-iocn-on-desktop.html" title="删除流氓软件伪造的Internet Explorer">删除流氓软件伪造的Internet Explorer</a> (1)</li><li>2008年12月19日  //  <a href="http://www.ihacklog.com/php/framework/%e5%8d%95%e4%b8%80%e5%85%a5%e5%8f%a3%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f%e6%a6%82%e8%bf%b0.html" title="单一入口应用程序概述">单一入口应用程序概述</a> (0)</li><li>2008年12月31日  //  <a href="http://www.ihacklog.com/php/%e3%80%90%e8%bd%ac%e5%b8%96%e3%80%91%e8%bf%99%e5%87%a0%e7%a7%8d%e6%b6%b2%e6%99%b6%e6%98%be%e7%a4%ba%e5%99%a8%e4%b8%8d%e8%83%bd%e4%b9%b0.html" title=" 【转帖】这几种液晶显示器不能买"> 【转帖】这几种液晶显示器不能买</a> (0)</li><li>2008年12月31日  //  <a href="http://www.ihacklog.com/php/%e4%b8%bb%e6%9d%bf%e7%b3%bb%e5%88%97%e7%9f%a5%e8%af%86%ef%bc%9a%e5%b9%b6%e5%8f%a3%e4%b8%b2%e5%8f%a3.html" title="主板系列知识：并口/串口">主板系列知识：并口/串口</a> (0)</li><li>2008年12月24日  //  <a href="http://www.ihacklog.com/memory/%e4%b8%80%e4%b8%aa%e4%ba%ba%e7%9a%84%e5%a4%a9%e7%a9%ba%e5%be%88%e8%93%9d%ef%bc%8c%e8%93%9d%e5%be%97%e6%9c%89%e7%82%b9%e5%bf%a7%e9%83%81%ef%bc%81.html" title="一个人的天空很蓝，蓝得有点忧郁！">一个人的天空很蓝，蓝得有点忧郁！</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/wordpress/wpskills/manually-upgrade-wp-to-wp3-0-1.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>留言短信通知，何需插件？</title>
		<link>http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html</link>
		<comments>http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 18:44:57 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp技巧]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[留言短信通知]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4041</guid>
		<description><![CDATA[直接在邮箱回复的代码后面添加一段代码即可: (########################################################## 之间的内容为新添加. ) 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455... ]]></description>
			<content:encoded><![CDATA[<p>直接在邮箱回复的代码后面添加一段代码即可:<br />
(########################################################## 之间的内容为新添加. )</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; <br />
<span style="color: #666666; font-style: italic;">/* comment_mail_notify v1.0 by willin kan. (有勾選欄, 由訪客決定) */</span><br />
<span style="color: #000000; font-weight: bold;">function</span> comment_mail_notify<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_id</span><span style="color: #009900;">&#41;</span> <br />
<span style="color: #009900;">&#123;</span><br />
<span style="color: #000088;">$admin_notify</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'0'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// admin 要不要收回覆通知 ( '1'=要 ; '0'=不要 )</span><br />
<span style="color: #000088;">$admin_email</span> <span style="color: #339933;">=</span> get_bloginfo <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_email'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// $admin_email 可改為你指定的 e-mail.</span><br />
<span style="color: #000088;">$comment</span> <span style="color: #339933;">=</span> get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$comment_author_email</span> <span style="color: #339933;">=</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$parent_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_parent</span> ? <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_parent</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Describe <span style="color: #006699; font-weight: bold;">{$wpdb-&gt;comments}</span> comment_mail_notify&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ALTER TABLE <span style="color: #006699; font-weight: bold;">{$wpdb-&gt;comments}</span> ADD COLUMN comment_mail_notify TINYINT NOT NULL DEFAULT 0;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_author_email</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$admin_email</span> <span style="color: #339933;">&amp;&amp;</span> <a target="blank" href="http://www.php.net/isset"><span style="color: #990000;">isset</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'comment_mail_notify'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment_author_email</span> <span style="color: #339933;">==</span> <span style="color: #000088;">$admin_email</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$admin_notify</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;UPDATE <span style="color: #006699; font-weight: bold;">{$wpdb-&gt;comments}</span> SET comment_mail_notify='1' WHERE comment_ID='<span style="color: #006699; font-weight: bold;">$comment_id</span>'&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$notify</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$parent_id</span> ? get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_mail_notify</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">'0'</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$spam_confirmed</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_approved</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$spam_confirmed</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'spam'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #000088;">$notify</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000088;">$wp_email</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'no-reply@'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#^www\.#'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <a target="blank" href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_HOST'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// e-mail 發出點, no-reply 可改為可用的 e-mail.</span><br />
<span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'您在 ['</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;blogname&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'] 的留言有了新回复'</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'<br />
&lt;div style=&quot;background-color:#eef2fa; border:1px solid #d8e3e8; color:#111; padding:0 15px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px;&quot;&gt;<br />
&lt;p&gt;'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">', 您好!&lt;/p&gt;<br />
&lt;p&gt;您曾在《'</span> <span style="color: #339933;">.</span> get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'》的留言:&lt;br /&gt;<br />
'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span>get_comment<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/p&gt;<br />
&lt;p&gt;'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">' 给您的回复:&lt;br /&gt;<br />
'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;br /&gt;&lt;/p&gt;<br />
&lt;p&gt;您可以点击 &lt;a href=&quot;'</span> <span style="color: #339933;">.</span> <a target="blank" href="http://www.php.net/htmlspecialchars"><span style="color: #990000;">htmlspecialchars</span></a><span style="color: #009900;">&#40;</span>get_comment_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt; 查看完整回复內容&lt;/a&gt;&lt;/p&gt;<br />
&lt;p&gt;欢迎再度光临 &lt;a href=&quot;'</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'home'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot;&gt;'</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blogname'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&lt;/a&gt;&lt;/p&gt;<br />
&lt;p&gt;(此邮件由系统自动发出, 请勿回复.)&lt;/p&gt;<br />
&lt;/div&gt;'</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;From: <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blogname'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> &lt;<span style="color: #006699; font-weight: bold;">$wp_email</span>&gt;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$headers</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$from</span><span style="color: #000099; font-weight: bold;">\n</span>Content-Type: text/html; charset=&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blog_charset'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">@</span>wp_mail<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//echo 'mail to ', $to, '&lt;br/&gt; ' , $subject, $message; // for testing</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
<br />
<br />
<span style="color: #666666; font-style: italic;">//发信到139邮箱</span><br />
<span style="color: #666666; font-style: italic;">##########################################################<br />
</span><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$admin_email</span> <span style="color: #339933;">!=</span> <span style="color: #000088;">$comment_author_email</span> <span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><br />
<span style="color: #000088;">$to</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'你的139邮箱账号(如xxx@139.com)'</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$from</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;From: <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blogname'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> &lt;<span style="color: #006699; font-weight: bold;">$admin_email</span>&gt;&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'在 ['</span> <span style="color: #339933;">.</span> get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'] 留言:'</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$message</span> <span style="color: #339933;">=</span><a target="blank" href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$headers</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$from</span><span style="color: #000099; font-weight: bold;">\n</span>Content-Type: text/html; charset=&quot;</span> <span style="color: #339933;">.</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blog_charset'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #339933;">@</span>wp_mail<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #666666; font-style: italic;">##########################################################<br />
</span><br />
<br />
<span style="color: #009900;">&#125;</span><br />
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'comment_mail_notify'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">/* 自動加勾選欄 */</span><br />
<span style="color: #000000; font-weight: bold;">function</span> add_checkbox<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;input style=&quot;margin-left:20px;width:20px;&quot; type=&quot;checkbox&quot; name=&quot;comment_mail_notify&quot; id=&quot;comment_mail_notify&quot; value=&quot;comment_mail_notify&quot; checked=&quot;checked&quot; /&gt;&lt;label for=&quot;comment_mail_notify&quot;&gt;有人回复时邮件通知我&lt;/label&gt;'</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'comment_form'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'add_checkbox'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// -- END ----------------------------------------</span></div></td></tr></tbody></table></div>
<p>然后就是到 139 邮箱里面去设置一下喽：</p>
<p>先把我们自己的邮箱加入白名单，以免被当垃圾邮件：<br />
<a target="_blank" href="http://www.ihacklog.com/l.php?url=mail.10086.cn/">http://mail.10086.cn/</a><br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/1-white_list.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/1-white_list-550x387.png" alt="" title="1-white_list" width="550" height="387" class="alignnone size-medium wp-image-4043" /> </a></p>
<p>开启来信短信通知功能：<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/2-sms-notify.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/2-sms-notify-550x376.png" alt="" title="2-sms-notify" width="550" height="376" class="alignnone size-medium wp-image-4044" /> </a></p>
<p>新建一文件夹专门用来放置博客留言的邮件：<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/3-new-folder.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/3-new-folder-550x366.png" alt="" title="3-new-folder" width="550" height="366" class="alignnone size-medium wp-image-4045" /> </a></p>
<p>新建邮件分拣规则，让从博客发来的邮件自动分类到我们新建的文件夹：<br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/4-category-139.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/4-category-139-550x319.png" alt="" title="4-category-139" width="550" height="319" class="alignnone size-medium wp-image-4046" /> </a></p>
<p><a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/5-category-139-rule.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/5-category-139-rule-550x133.png" alt="" title="5-category-139-rule" width="550" height="133" class="alignnone size-medium wp-image-4042" /> </a></p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html" title="Permanent Link to 留言短信通知，何需插件？">http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年07月29日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html" title="wp页面重定向模板">wp页面重定向模板</a> (0)</li><li>2010年06月23日  //  <a href="http://www.ihacklog.com/wordpress/plugins/hacklog-highslide-picture.html" title="Hacklog Highslide Picture">Hacklog Highslide Picture</a> (20)</li><li>2010年06月23日  //  <a href="http://www.ihacklog.com/wordpress/plugins/wp-auto-keywords.html" title="WP Auto Keywords——自动给文章添加标签tag的插件">WP Auto Keywords——自动给文章添加标签tag的插件</a> (18)</li><li>2010年06月16日  //  <a href="http://www.ihacklog.com/wordpress/plugins/hacklog-digu.html" title="Hacklog嘀咕">Hacklog嘀咕</a> (7)</li><li>2010年05月30日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/add-quicktags-buttons-for-wp-comment-form.html" title="给WP留言框添加快捷按钮">给WP留言框添加快捷按钮</a> (13)</li><li>2010年05月22日  //  <a href="http://www.ihacklog.com/wordpress/theme/wp-theme-the-web-news-theme.html" title="WP主题推荐：The Web News Theme">WP主题推荐：The Web News Theme</a> (8)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>wp页面重定向模板</title>
		<link>http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html</link>
		<comments>http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 08:21:33 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp技巧]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[模板]]></category>
		<category><![CDATA[页面重定向]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4031</guid>
		<description><![CDATA[1234567891011121314151617&#60;?php &#160; &#160; /* &#160; &#160; &#160;Template Name: Redirect &#160; &#160; &#160;*/ &#160; &#160; &#160; &#160; &#160; &#160;if &#40;have_posts&#40;&#41;&#41; &#160; &#160; &#160;&#123; &#160; &#160; &#160; &#160; the_p... ]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp;Template Name: Redirect<br />
&nbsp; &nbsp; &nbsp;*/</span><br />
&nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$pattern</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a target="blank" href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pattern</span><span style="color: #339933;">,</span> get_the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a target="blank" href="http://www.php.net/header"><span style="color: #990000;">header</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'Enter a URL into your page body text.'</span><span style="color: #339933;">;</span><br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>http://snipplr.com/view/24727/wordpress-page-redirect-template/</p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html" title="Permanent Link to wp页面重定向模板">http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2010年06月23日  //  <a href="http://www.ihacklog.com/wordpress/plugins/hacklog-highslide-picture.html" title="Hacklog Highslide Picture">Hacklog Highslide Picture</a> (20)</li><li>2010年06月23日  //  <a href="http://www.ihacklog.com/wordpress/plugins/wp-auto-keywords.html" title="WP Auto Keywords——自动给文章添加标签tag的插件">WP Auto Keywords——自动给文章添加标签tag的插件</a> (18)</li><li>2010年06月16日  //  <a href="http://www.ihacklog.com/wordpress/plugins/hacklog-digu.html" title="Hacklog嘀咕">Hacklog嘀咕</a> (7)</li><li>2010年07月30日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/comments-sms-notify.html" title="留言短信通知，何需插件？">留言短信通知，何需插件？</a> (3)</li><li>2010年05月30日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/add-quicktags-buttons-for-wp-comment-form.html" title="给WP留言框添加快捷按钮">给WP留言框添加快捷按钮</a> (13)</li><li>2010年05月22日  //  <a href="http://www.ihacklog.com/wordpress/theme/wp-theme-the-web-news-theme.html" title="WP主题推荐：The Web News Theme">WP主题推荐：The Web News Theme</a> (8)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/wordpress/wpskills/page-redirect-template.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决Bind 9 dumping master file tmp-XXXX open permission denied问题</title>
		<link>http://www.ihacklog.com/linux/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html</link>
		<comments>http://www.ihacklog.com/linux/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html#comments</comments>
		<pubDate>Fri, 23 Jul 2010 17:10:47 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[Bind 9]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4019</guid>
		<description><![CDATA[查看系统日志： root@hywd11:/etc/bind# tail /var/log/syslog Jul 17 14:48:07 hywd11 kernel: [ 1897.453020] type=1503 audit(1279349287.293:24): operation=&#8221;mknod&#8221; pid=1502 parent=1 profile=&#8221;/usr/sbin/named&#8221; requested_mask=&#822... ]]></description>
			<content:encoded><![CDATA[<p>查看系统日志：</p>
<blockquote><p>
root@hywd11:/etc/bind# tail /var/log/syslog<br />
Jul 17 14:48:07 hywd11 kernel: [ 1897.453020] type=1503 audit(1279349287.293:24):  operation=&#8221;mknod&#8221; pid=1502 parent=1 profile=&#8221;/usr/sbin/named&#8221; requested_mask=&#8221;c::&#8221; denied_mask=&#8221;c::&#8221; fsuid=105 ouid=105 name=&#8221;/etc/bind/slaves/tmp-S6QzVvM3Nz&#8221;<br />
Jul 17 15:04:02 hywd11 named[1501]: zone 13.caonima.com/IN: Transfer started.<br />
Jul 17 15:04:02 hywd11 named[1501]: transfer of &#8217;13.caonima.com/IN&#8217; from 172.40.200.13#53: connected using 172.40.200.11#34735<br />
Jul 17 15:04:02 hywd11 named[1501]: dumping master file: /etc/bind/slaves/tmp-uNuxn6s0Wn: open: permission denied<br />
Jul 17 15:04:02 hywd11 named[1501]: transfer of &#8217;13.caonima.com/IN&#8217; from 172.40.200.13#53: failed while receiving responses: permission denied<br />
Jul 17 15:04:02 hywd11 named[1501]: transfer of &#8217;13.caonima.com/IN&#8217; from 172.40.200.13#53: Transfer completed: 0 messages, 10 records, 0 bytes, 0.005 secs (0 bytes/sec)<br />
Jul 17 15:04:02 hywd11 kernel: [ 2852.442903] type=1503 audit(1279350242.281:25):  operation=&#8221;mknod&#8221; pid=1502 parent=1 profile=&#8221;/usr/sbin/named&#8221; requested_mask=&#8221;c::&#8221; denied_mask=&#8221;c::&#8221; fsuid=105 ouid=105 name=&#8221;/etc/bind/slaves/tmp-uNuxn6s0Wn&#8221;<br />
Jul 17 15:09:01 hywd11 CRON[1539]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] &#038;&#038; [ -d /var/lib/php5 ] &#038;&#038; find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)<br />
Jul 17 15:17:01 hywd11 CRON[1549]: (root) CMD (   cd / &#038;&#038; run-parts &#8211;report /etc/cron.hourly)<br />
                                                              8435,1        Bot
</p></blockquote>
<p>问题描述：<br />
slave的DNS無法成功將master DNS修改的记录自动同步过来，使用<br />
tail -20 /var/log/messages可以看到类似下面的错误信息：<br />
<strong>dumping master file: tmp-XXXX: open: permission denied</strong></p>
<p>解决办法：<br />
对于redhat linux ，只要在slave那台DNS主机上面修改<strong>/etc/sysconfig/named</strong><br />
加上<br />
<strong>ENABLE_ZONE_WRITE=yes</strong><br />
再重新启动named即可。 </p>
<p>对于ubuntu linux 系统，它并没有 /etc/sysconfig  文件。我们得修改另外的东东。<br />
编辑<strong> /etc/apparmor.d/usr.sbin.named</strong><br />
查找<strong>/etc/bind/** r</strong><br />
修改成 <strong>/etc/bind/** rw</strong><br />
即加了一个w .<br />
然后重启 apparmor</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apparmor restart</div></td></tr></tbody></table></div>
<p>或者<br />
reload  配置：</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apparmor.d<span style="color: #000000; font-weight: bold;">/</span>usr.sbin.named <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> apparmor_parser <span style="color: #660033;">-r</span></div></td></tr></tbody></table></div>
<p>关于<a target="_blank" href="http://www.ihacklog.com/l.php?url=https://help.ubuntu.com/10.04/serverguide/C/apparmor.html">apparmor </a> ：</p>
<p>https://help.ubuntu.com/10.04/serverguide/C/apparmor.html</p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/linux/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html" title="Permanent Link to 解决Bind 9 dumping master file tmp-XXXX open permission denied问题">http://www.ihacklog.com/linux/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2008年12月14日  //  <a href="http://www.ihacklog.com/memory/do-nothing.html" title="无为">无为</a> (0)</li><li>2010年04月17日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/use-gzip-to-compressed-your-web-content.html" title="用gzip压缩js和css,加速页面装载">用gzip压缩js和css,加速页面装载</a> (4)</li><li>2009年09月18日  //  <a href="http://www.ihacklog.com/internet_software/qq-domain-mail-trial.html" title="QQ域名邮箱试用">QQ域名邮箱试用</a> (12)</li><li>2008年12月31日  //  <a href="http://www.ihacklog.com/php/%e3%80%90%e8%bd%ac%e5%b8%96%e3%80%91%e7%9c%8b%e5%9b%be%e8%af%86%e6%98%be%e5%8d%a1.html" title=" 【转帖】看图识显卡"> 【转帖】看图识显卡</a> (0)</li><li>2009年02月10日  //  <a href="http://www.ihacklog.com/tech_entries/noticeonlyvariablereferencesshouldbereturnedbyreference.html" title="Notice: Only variable references should be returned by reference">Notice: Only variable references should be returned by reference</a> (0)</li><li>2010年07月17日  //  <a href="http://www.ihacklog.com/internet_software/cool_software_share/atnow.html" title="AtNow——让程序延时执行">AtNow——让程序延时执行</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/linux/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决IE8下telnet协议无效的问题</title>
		<link>http://www.ihacklog.com/internet_software/tips/using-telnet-in-ie-browser-7-0-or-8-0.html</link>
		<comments>http://www.ihacklog.com/internet_software/tips/using-telnet-in-ie-browser-7-0-or-8-0.html#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:00:20 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[奇技淫巧]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[telnet协议]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4017</guid>
		<description><![CDATA[今天某同学升级了IE6到IE8,发现类似于 telnet://172.30.200.2:2001 这样的地址不能直接调用相关终端连接工具 (如telnet) 打开了。 其实是IE8默认没有启用telnet协议： 修改下注册表即可， 123456Windows Regist... ]]></description>
			<content:encoded><![CDATA[<p>今天某同学升级了IE6到IE8,发现类似于  telnet://172.30.200.2:2001 这样的地址不能直接调用相关终端连接工具 (如telnet) 打开了。</p>
<p>其实是IE8默认没有启用telnet协议：<br />
修改下注册表即可，</p>
<div class="codecolorer-container ini default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="ini codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Windows Registry Editor Version <span style="">5.00</span><br />
<br />
<br />
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_DISABLE_TELNET_PROTOCOL<span style="">&#93;</span></span><br />
<br />
<span style="color: #933;">&quot;iexplore.exe&quot;</span><span style="color: #000066; font-weight:bold;">=</span>dword:00000000</div></td></tr></tbody></table></div>
注意：该页面嵌入了下载文件，请访问该页面下载该文件。
<p>参考：<a target="_blank" href="http://www.ihacklog.com/l.php?url=library.osu.edu/sites/it/CSS/faqtips/ie7_telnet_fix.php">http://library.osu.edu/sites/it/CSS/faqtips/ie7_telnet_fix.php</a></p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/internet_software/tips/using-telnet-in-ie-browser-7-0-or-8-0.html" title="Permanent Link to 解决IE8下telnet协议无效的问题">http://www.ihacklog.com/internet_software/tips/using-telnet-in-ie-browser-7-0-or-8-0.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年08月23日  //  <a href="http://www.ihacklog.com/linux/ubuntu-desktop/sun-virtualbox-3-0-bridge-setup-on-ubuntu-9-0-4.html" title="UBUNTU 9.0.4下sun VirtualBOX 3.0 桥接 设置详细方法">UBUNTU 9.0.4下sun VirtualBOX 3.0 桥接 设置详细方法</a> (3)</li><li>2009年04月10日  //  <a href="http://www.ihacklog.com/wordpress/wpskills/installingupdatingwordpresswithsubversion.html" title="Installing/Updating WordPress with Subversion">Installing/Updating WordPress with Subversion</a> (0)</li><li>2008年02月22日  //  <a href="http://www.ihacklog.com/php/skills/%e6%9c%89%e5%85%b3%e8%b7%af%e5%be%84%e7%9a%84%e5%87%a0%e4%b8%aaphp%e5%87%bd%e6%95%b0.html" title="有关路径的几个PHP函数">有关路径的几个PHP函数</a> (0)</li><li>2009年05月8日  //  <a href="http://www.ihacklog.com/internet_software/onlinetools/webiminhotmail.html" title="Web IM in Hotmail!">Web IM in Hotmail!</a> (1)</li><li>2008年12月7日  //  <a href="http://www.ihacklog.com/php/skills/clever-forms-with-php.html" title="Clever forms with PHP">Clever forms with PHP</a> (0)</li><li>2009年10月21日  //  <a href="http://www.ihacklog.com/server/install-dhcp.html" title="安装DHCP自动为内网分配IP地址">安装DHCP自动为内网分配IP地址</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/internet_software/tips/using-telnet-in-ie-browser-7-0-or-8-0.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bind9 DNS主从服务器配置</title>
		<link>http://www.ihacklog.com/linux/ubuntu-server/setup-bind9-dns-master-slave-server.html</link>
		<comments>http://www.ihacklog.com/linux/ubuntu-server/setup-bind9-dns-master-slave-server.html#comments</comments>
		<pubDate>Sun, 18 Jul 2010 16:03:40 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[ubuntu server]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[DNS主从服务器]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4009</guid>
		<description><![CDATA[BIND9，添加A记录后如何自动（不重启服务）生效？ 1rndc reload 或者 1rndc reload &#160;域名 ，如果直接用rndc reload，重新加载所有域信息 下面看下配置： 主DNS服务器IP： 172.40.200.13 （实际上测试应该... ]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" reload="1">document.write(AC_FL_RunContent('width', '500', 'height', '400', 'allowNetworking', 'internal', 'allowScriptAccess', 'never', 'src', 'http://www.ihacklog.com/wordpress/wp-content/themes/greenthewebnews/imagerotator/imagerotator.swf', 'flashvars', 'file=http%3A%2F%2Fwww.ihacklog.com%2Fwordpress%2Fwp-content%2Fthemes%2Fgreenthewebnews%2Fimagerotator%2Fplaylist.php%3Fid%3D4009%26width%3D500%26height%3D400', 'quality', 'high', 'wmode', 'transparent', 'allowfullscreen', 'true'));</script><br />
<a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/master_reload_notify.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/master_reload_notify-550x350.png" alt="" title="master_reload_notify" width="550" height="350" class="alignnone size-medium wp-image-4010" /> </a></p>
<p><a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_reload.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_reload-547x400.png" alt="" title="slave_reload" width="547" height="400" class="alignnone size-medium wp-image-4011" /> </a></p>
<p><a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_domain_parse.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_domain_parse-550x342.png" alt="" title="slave_domain_parse" width="550" height="342" class="alignnone size-medium wp-image-4015" /> </a></p>
<p><a href="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_domain_parse2.png" class="highslide"  onclick="return hs.expand(this)"  title="Click to enlarge（点击查看大图）" ><img src="http://www.ihacklog.com/wordpress/wp-content/uploads0x16w463t1wqy4t/2010/07/slave_domain_parse2-550x351.png" alt="" title="slave_domain_parse2" width="550" height="351" class="alignnone size-medium wp-image-4013" /> </a></p>
<p><strong><br />
BIND9，添加A记录后如何自动（不重启服务）生效？<br />
</strong></p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rndc reload</div></td></tr></tbody></table></div>
<p>或者</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rndc reload &nbsp;域名</div></td></tr></tbody></table></div>
<p>，如果直接用rndc reload，重新加载所有域信息</p>
<p>下面看下配置：<br />
主DNS服务器IP： 172.40.200.13  （实际上测试应该用内网地址的，这里的172.40是属于公网IP了。。。。。真不知学校当时怎么规划的，杯具。 <img src='http://www.ihacklog.com/wordpress/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  ）<br />
从DNS服务器IP： 172.40.200.11</p>
<p>主DNS的named.conf.local 相关内容如下 ：</p>
<div class="codecolorer-container ini default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="ini codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">zone <span style="color: #933;">&quot;13.caonima.com&quot;</span> <span style="">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; type master<span style="color: #666666; font-style: italic;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; file <span style="color: #933;">&quot;/etc/bind/db.13.caonima.com&quot;</span><span style="color: #666666; font-style: italic;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; allow-transfer <span style="">&#123;</span> 172.40.200.11<span style="color: #666666; font-style: italic;">;};</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; notify yes<span style="color: #666666; font-style: italic;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; also-notify<span style="">&#123;</span>172.40.200.11<span style="color: #666666; font-style: italic;">;};</span><br />
<span style="">&#125;</span><span style="color: #666666; font-style: italic;">;</span></div></td></tr></tbody></table></div>
<p>从DNS服务器：<br />
view named.conf.local</p>
<div class="codecolorer-container ini default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="ini codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">zone <span style="color: #933;">&quot;13.caonima.com&quot;</span> IN <span style="">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; type slave<span style="color: #666666; font-style: italic;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; file <span style="color: #933;">&quot;/etc/bind/slaves/13.caonima.com&quot;</span><span style="color: #666666; font-style: italic;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; masters<span style="">&#123;</span> 172.40.200.12<span style="color: #666666; font-style: italic;">;};</span><br />
<span style="">&#125;</span><span style="color: #666666; font-style: italic;">;</span></div></td></tr></tbody></table></div>
<p>这里只以正解为例了，反解原理之此类似。</p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/linux/ubuntu-server/setup-bind9-dns-master-slave-server.html" title="Permanent Link to bind9 DNS主从服务器配置">http://www.ihacklog.com/linux/ubuntu-server/setup-bind9-dns-master-slave-server.html</a>
            </p>
             </div><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li>2009年11月4日  //  <a href="http://www.ihacklog.com/server/using-bind9-setup-cache-and-local-dns-server.html" title="bind9架設域名服务器及配置">bind9架設域名服务器及配置</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/linux/ubuntu-server/setup-bind9-dns-master-slave-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AtNow——让程序延时执行</title>
		<link>http://www.ihacklog.com/internet_software/cool_software_share/atnow.html</link>
		<comments>http://www.ihacklog.com/internet_software/cool_software_share/atnow.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 16:16:37 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[酷软分享]]></category>
		<category><![CDATA[AtNow]]></category>
		<category><![CDATA[延时执行]]></category>

		<guid isPermaLink="false">http://www.ihacklog.com/?p=4005</guid>
		<description><![CDATA[AtNow is a command-line utility that schedules programs and commands to run in the near future. By default, the commands are executed within 70 seconds or less from the moment that you run the AtNow utility with the desired command. Syntax AtNow [\\Compu... ]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.ihacklog.com/l.php?url=www.nirsoft.net/utils/atnow.html"><strong>AtNow</strong> </a>is a command-line utility that schedules programs and commands to run in the near future.<br />
By default, the commands are executed within 70 seconds or less from the moment that you run the AtNow utility with the desired command.</p>
<p>Syntax<br />
AtNow [\\ComputerName] [Delay] [/interactive] &#8220;command&#8221; [Parameters] </p>
<p>Examples<br />
AtNow \\COMP1 /interactive &#8220;c:\winnt\system32\regedt32.exe&#8221;<br />
AtNow &#8220;c:\program files\cmds\cmd2.cmd&#8221;<br />
AtNow &#8220;c:\program files\MySoft\test1.exe&#8221; /p /m<br />
AtNow \\192.168.0.5 /interactive &#8220;calc.exe&#8221;</p>
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站  <a href='http://www.ihacklog.com/feed'>RSS feed</a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://www.ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://www.ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://www.ihacklog.com/internet_software/cool_software_share/atnow.html" title="Permanent Link to AtNow——让程序延时执行">http://www.ihacklog.com/internet_software/cool_software_share/atnow.html</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年05月2日  //  <a href="http://www.ihacklog.com/linux/tips-linux/mplayer-support-firefox.html" title="让mplayer支持firefox播放">让mplayer支持firefox播放</a> (0)</li><li>2010年03月3日  //  <a href="http://www.ihacklog.com/memory/hacklog/cet4-passed.html" title="英语四级首战告捷">英语四级首战告捷</a> (4)</li><li>2008年12月24日  //  <a href="http://www.ihacklog.com/tech_entries/php%e6%b2%89%e6%80%9d%e5%bd%95%e4%b9%8b%e4%ba%8c-pme%e6%a8%a1%e5%9e%8b.html" title="PHP沉思录之二&#8211;PME模型 ">PHP沉思录之二&#8211;PME模型 </a> (0)</li><li>2010年04月24日  //  <a href="http://www.ihacklog.com/php/discuz/add-beautiful-flash-audio-player-for-dz.html" title="为discuz添加漂亮的mp3播放器">为discuz添加漂亮的mp3播放器</a> (2)</li><li>2009年09月28日  //  <a href="http://www.ihacklog.com/wordpress/plugins/message-info-anywhere-via-comment-fetion-alert.html" title="手机短信提醒插件，随时随地监视博客留言">手机短信提醒插件，随时随地监视博客留言</a> (9)</li><li>2009年04月25日  //  <a href="http://www.ihacklog.com/wordpress/theme/top10freeecowordpressthemes.html" title="Top 10 + free eco wordpress themes">Top 10 + free eco wordpress themes</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.ihacklog.com/internet_software/cool_software_share/atnow.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
