<?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>登高望远</title>
	<atom:link href="http://www.dengor.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dengor.com</link>
	<description>努力往上  只为看得更远一点点......</description>
	<lastBuildDate>Fri, 11 May 2012 08:28:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>“憋气”的冷故事</title>
		<link>http://www.dengor.com/archives/1502.html</link>
		<comments>http://www.dengor.com/archives/1502.html#comments</comments>
		<pubDate>Fri, 11 May 2012 08:28:04 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[奇思怪想]]></category>
		<category><![CDATA[冷故事]]></category>
		<category><![CDATA[奇思]]></category>
		<category><![CDATA[憋气]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1502</guid>
		<description><![CDATA[话说有个人, 想知道自己到底能憋气多久, 于是一直忍住不呼吸, 谁知道一不小心就把自己憋死过去了. 你不相信这故事?  那你可以试下, 不过千万千万要小心, 人命关天啊!!! 相关文章路人与车主的对话Feiji还有这意思．．．小屏幕真正的世外桃源网络不要让网络带你走太远笑比哭更容易什么是江湖烟灰足球门改进-让过门线的球都进去向前轮学习]]></description>
			<content:encoded><![CDATA[<p>话说有个人, 想知道自己到底能憋气多久, 于是一直忍住不呼吸, 谁知道一不小心就把自己憋死过去了.</p>
<p>你不相信这故事?  那你可以试下, 不过千万千万要小心, 人命关天啊!!!</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1416.html" title="路人与车主的对话">路人与车主的对话</a></li><li><a href="http://www.dengor.com/archives/1406.html" title="Feiji还有这意思．．．">Feiji还有这意思．．．</a></li><li><a href="http://www.dengor.com/archives/1346.html" title="小屏幕">小屏幕</a></li><li><a href="http://www.dengor.com/archives/1207.html" title="真正的世外桃源网络">真正的世外桃源网络</a></li><li><a href="http://www.dengor.com/archives/1021.html" title="不要让网络带你走太远">不要让网络带你走太远</a></li><li><a href="http://www.dengor.com/archives/1120.html" title="笑比哭更容易">笑比哭更容易</a></li><li><a href="http://www.dengor.com/archives/803.html" title="什么是江湖">什么是江湖</a></li><li><a href="http://www.dengor.com/archives/938.html" title="烟灰">烟灰</a></li><li><a href="http://www.dengor.com/archives/865.html" title="足球门改进-让过门线的球都进去">足球门改进-让过门线的球都进去</a></li><li><a href="http://www.dengor.com/archives/759.html" title="向前轮学习">向前轮学习</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1502.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>百度网盘的邀请码要就拿去</title>
		<link>http://www.dengor.com/archives/1499.html</link>
		<comments>http://www.dengor.com/archives/1499.html#comments</comments>
		<pubDate>Thu, 10 May 2012 08:07:37 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网罗天下]]></category>
		<category><![CDATA[百度]]></category>
		<category><![CDATA[网盘]]></category>
		<category><![CDATA[邀请码]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1499</guid>
		<description><![CDATA[百度网盘(http://pan.baidu.com )好像是开放了用户好友邀请码,  这里也有百度网盘的邀请码, 要的就拿去. http://pan.baidu.com/netdisk/beinvited?invite_code=9c2b3d1dc470ee468c4f8dcf5643c440 http://pan.baidu.com/netdisk/beinvited?invite_code=d23115f0aea951ac1665ae3fc51967f1 http://pan.baidu.com/netdisk/beinvited?invite_code=de2194e35c98fcad1736c65035517a3f http://pan.baidu.com/netdisk/beinvited?invite_code=593405a5d08eadf8ec9a8f6063087066 http://pan.baidu.com/netdisk/beinvited?invite_code=869617581e7552277f67a3163facbb77 http://pan.baidu.com/netdisk/beinvited?invite_code=bfc73adbe37b70e26010f580d7c6073d http://pan.baidu.com/netdisk/beinvited?invite_code=afac673609209b7c5e34ad07a989648b http://pan.baidu.com/netdisk/beinvited?invite_code=3ead6ea0210c2218b27509d66a53d903 http://pan.baidu.com/netdisk/beinvited?invite_code=72eb45439cf48d30cd1feb821c6ec9b4 相关文章打开百度的所有网站都慢的解决办法百度关于百度蜘蛛抓取频率的说明对百度很无奈百度老年搜索的手写输入做得不错集成google 百度 淘宝的搜索工具条各主要搜索引擎登录入口]]></description>
			<content:encoded><![CDATA[<p>百度网盘(<a href="http://pan.baidu.com/" target="_blank">http://pan.baidu.com</a> )好像是开放了用户好友邀请码,  这里也有百度网盘的邀请码, 要的就拿去.</p>
<blockquote><p>http://pan.baidu.com/netdisk/beinvited?invite_code=9c2b3d1dc470ee468c4f8dcf5643c440</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=d23115f0aea951ac1665ae3fc51967f1</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=de2194e35c98fcad1736c65035517a3f</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=593405a5d08eadf8ec9a8f6063087066</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=869617581e7552277f67a3163facbb77</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=bfc73adbe37b70e26010f580d7c6073d</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=afac673609209b7c5e34ad07a989648b</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=3ead6ea0210c2218b27509d66a53d903</p>
<p>http://pan.baidu.com/netdisk/beinvited?invite_code=72eb45439cf48d30cd1feb821c6ec9b4</p></blockquote>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1409.html" title="打开百度的所有网站都慢的解决办法">打开百度的所有网站都慢的解决办法</a></li><li><a href="http://www.dengor.com/archives/1388.html" title="百度关于百度蜘蛛抓取频率的说明">百度关于百度蜘蛛抓取频率的说明</a></li><li><a href="http://www.dengor.com/archives/539.html" title="对百度很无奈">对百度很无奈</a></li><li><a href="http://www.dengor.com/archives/438.html" title="百度老年搜索的手写输入做得不错">百度老年搜索的手写输入做得不错</a></li><li><a href="http://www.dengor.com/archives/291.html" title="集成google 百度  淘宝的搜索工具条">集成google 百度  淘宝的搜索工具条</a></li><li><a href="http://www.dengor.com/archives/274.html" title="各主要搜索引擎登录入口 ">各主要搜索引擎登录入口 </a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1499.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>换个IP上网快多了</title>
		<link>http://www.dengor.com/archives/1496.html</link>
		<comments>http://www.dengor.com/archives/1496.html#comments</comments>
		<pubDate>Sun, 06 May 2012 03:43:51 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[软件系统]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[上网]]></category>
		<category><![CDATA[换IP]]></category>
		<category><![CDATA[速度]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1496</guid>
		<description><![CDATA[不知道是我自己的原因, 还是网友都有这种情况, 当一个IP上网太慢, 很多网站打不开或很慢时, 这里重新拨号, 换一下IP, 上网站速度就会快很多. 我在前面已经说这个种情况- 国内特定的IP访问国外特定的网站会出错 有时候龟速,经常要换IP, 也很是郁闷. 相关文章全民输液的新商机ipinfodb-免费的IP数据库和API]]></description>
			<content:encoded><![CDATA[<p>不知道是我自己的原因, 还是网友都有这种情况, 当一个IP上网太慢, 很多网站打不开或很慢时, 这里重新拨号, 换一下IP, 上网站速度就会快很多. 我在前面已经说这个种情况- <a href="http://www.dengor.com/archives/1470.html" rel="bookmark">国内特定的IP访问国外特定的网站会出错</a></p>
<p>有时候龟速,经常要换IP, 也很是郁闷.</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1089.html" title="全民输液的新商机">全民输液的新商机</a></li><li><a href="http://www.dengor.com/archives/929.html" title="ipinfodb-免费的IP数据库和API">ipinfodb-免费的IP数据库和API</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1496.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>创意造型的名片欣赏</title>
		<link>http://www.dengor.com/archives/1459.html</link>
		<comments>http://www.dengor.com/archives/1459.html#comments</comments>
		<pubDate>Thu, 03 May 2012 11:11:48 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[平面美化]]></category>
		<category><![CDATA[创意]]></category>
		<category><![CDATA[名片]]></category>
		<category><![CDATA[造型]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1459</guid>
		<description><![CDATA[　　在名片设计有时候要在造型上文花很多工夫, 创意造型是很多名片追求的. 欣赏一下创意造型名片: 镜头创意造型名片 桶装水创意名片 推荐阅读网人网语收集文字中间加横线和对文字打叉Godaddy最新6月优惠码 网络笑话收集DEDE5.5最近不能采集图片本地化解决办法VPS性能测试程序UnixBench国外高性价比VPS-virpus集成google 百度 淘宝的搜索工具条DEDE自动生成关键字列表页面对百度很无奈]]></description>
			<content:encoded><![CDATA[<div>
<div>　　在名片设计有时候要在造型上文花很多工夫, 创意造型是很多名片追求的. 欣赏一下<a title="创意造型名片" href="http://www.wodmp.com/mpxs/2065.html">创意造型名片</a>:</div>
</div>
<p style="text-align: center;"><img src="http://www.wodmp.com/uploads/pimg/cymp01/cymp-13.jpg" alt="镜头创意造型名片" /><br />
镜头创意造型名片</p>
<p style="text-align: center;"><span id="more-1459"></span><img src="http://www.wodmp.com/uploads/pimg/cymp01/cymp-15.jpg" alt="桶装水创意名片" /><br />
桶装水创意名片</p>
<div  class="related_post_title">推荐阅读</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/715.html" title="网人网语收集">网人网语收集</a></li><li><a href="http://www.dengor.com/archives/256.html" title="文字中间加横线和对文字打叉">文字中间加横线和对文字打叉</a></li><li><a href="http://www.dengor.com/archives/805.html" title="Godaddy最新6月优惠码">Godaddy最新6月优惠码</a></li><li><a href="http://www.dengor.com/archives/136.html" title=" 网络笑话收集"> 网络笑话收集</a></li><li><a href="http://www.dengor.com/archives/342.html" title="DEDE5.5最近不能采集图片本地化解决办法">DEDE5.5最近不能采集图片本地化解决办法</a></li><li><a href="http://www.dengor.com/archives/948.html" title="VPS性能测试程序UnixBench">VPS性能测试程序UnixBench</a></li><li><a href="http://www.dengor.com/archives/1258.html" title="国外高性价比VPS-virpus">国外高性价比VPS-virpus</a></li><li><a href="http://www.dengor.com/archives/291.html" title="集成google 百度  淘宝的搜索工具条">集成google 百度  淘宝的搜索工具条</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/539.html" title="对百度很无奈">对百度很无奈</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1459.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>真正能解决dede5.7的验证码不显示的办法</title>
		<link>http://www.dengor.com/archives/1491.html</link>
		<comments>http://www.dengor.com/archives/1491.html#comments</comments>
		<pubDate>Sat, 28 Apr 2012 08:05:24 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[软件系统]]></category>
		<category><![CDATA[bom]]></category>
		<category><![CDATA[dede]]></category>
		<category><![CDATA[utf-8]]></category>
		<category><![CDATA[不显示]]></category>
		<category><![CDATA[验证码]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1491</guid>
		<description><![CDATA[一个dede5.7的新做的网站, 上传到服务器后, 后台的验证码不能显示出来. 在网上搜索了好久, 网友们说了很多方法都试过, 都没有用,  最后才发现是文件编码的问题. 网上的方法也不外这几种: 1. GD 库没有安装, 安装GD库方法：把 extension=php_gd.dll 或extension=php_gd2.dll  前边的分号去掉, 重新启动PHP和服务器. 2. data目录没有写权限 3. \safe\inc_safe_config.php 文件修改过. 我发现这些在我的服务器上都没有问题, 查了一下有人说时没有安装GD库的原因，securimage必须php支持gd2以及freetype。但是我发现我的空间gd2和freetype都安装了，但是验证码还是不显示. 最后记得自己的服务器上修改过/data/common.inc.php这个文件, 修改了连接密码, 当时是直接在服务器上用记事本打开修改保存的.  我在本地用EmEditor保存不带bom的utf8编码的文件, 上传后终于可以显示验证码. 看这这次又是带bom的utf-8文件引起来问题, 很多跟session有关的都要注意一下这个问题.  希望对碰到一样问题的朋友会有帮助. 原创文章 转载请注明出处: 登高望远 [http://www.dengor.com/archives/1491.html ] &#160; 相关文章让DEDE的不显示未审核稿件的标签织梦dede后台文件列表按文件名排序的方法织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]DEDECMS5.7删除默认友情链接的方法wordpress让评论不显示站外链接dede升级到5.6封面栏目不显示文章列表让DEDE的图片附件按月保存DEDE自动审核发布文章DEDE自动生成关键字列表页面DEDE开启伪静态的重写设置]]></description>
			<content:encoded><![CDATA[<p>一个dede5.7的新做的网站, 上传到服务器后, 后台的验证码不能显示出来. 在网上搜索了好久, 网友们说了很多方法都试过, 都没有用,  最后才发现是文件编码的问题.</p>
<p><span id="more-1491"></span>网上的方法也不外这几种:</p>
<p>1. GD 库没有安装, <strong>安装GD库</strong>方法：把 extension=php_gd.dll 或extension=php_gd2.dll  前边的分号去掉, 重新启动PHP和服务器.</p>
<p>2. data目录没有写权限</p>
<p>3. \safe\inc_safe_config.php 文件修改过.</p>
<p>我发现这些在我的服务器上都没有问题, 查了一下有人说时没有安装GD库的原因，securimage必须php支持gd2以及freetype。但是我发现我的空间gd2和freetype都安装了，但是验证码还是不显示.</p>
<p>最后记得自己的服务器上修改过/data/<strong>common.inc.php</strong>这个文件, 修改了连接密码, 当时是直接在服务器上用记事本打开修改保存的.  我在本地用<a href="http://www.dengor.com/archives/627.html">EmEditor</a><strong>保存不带bom的utf8编码的文件</strong>, 上传后终于可以显示验证码.</p>
<p>看这这次又是带<strong>bom的utf-8文件</strong>引起来问题, 很多跟session有关的都要注意一下这个问题.  希望对碰到一样问题的朋友会有帮助.</p>
<p><span style="color: #800000;">原创文章 转载请注明出处: <a href="../"><span style="color: #800000;">登高望远</span></a></span><br />
<span style="color: #800000;"> [<a href="http://www.dengor.com/archives/1491.html"><span style="color: #800000;">http://www.dengor.com/archives/1491.html</span></a> ]</span></p>
<p>&nbsp;</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/734.html" title="让DEDE的不显示未审核稿件的标签">让DEDE的不显示未审核稿件的标签</a></li><li><a href="http://www.dengor.com/archives/1442.html" title="织梦dede后台文件列表按文件名排序的方法">织梦dede后台文件列表按文件名排序的方法</a></li><li><a href="http://www.dengor.com/archives/1439.html" title="织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]">织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]</a></li><li><a href="http://www.dengor.com/archives/1402.html" title="DEDECMS5.7删除默认友情链接的方法">DEDECMS5.7删除默认友情链接的方法</a></li><li><a href="http://www.dengor.com/archives/1274.html" title="wordpress让评论不显示站外链接">wordpress让评论不显示站外链接</a></li><li><a href="http://www.dengor.com/archives/925.html" title="dede升级到5.6封面栏目不显示文章列表">dede升级到5.6封面栏目不显示文章列表</a></li><li><a href="http://www.dengor.com/archives/776.html" title="让DEDE的图片附件按月保存">让DEDE的图片附件按月保存</a></li><li><a href="http://www.dengor.com/archives/729.html" title="DEDE自动审核发布文章">DEDE自动审核发布文章</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/511.html" title="DEDE开启伪静态的重写设置">DEDE开启伪静态的重写设置</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1491.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>修改debian等linux的ssh默认端口22的方法</title>
		<link>http://www.dengor.com/archives/1488.html</link>
		<comments>http://www.dengor.com/archives/1488.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 02:23:06 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[软件系统]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[默认端口]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1488</guid>
		<description><![CDATA[修改debian等l]]></description>
			<content:encoded><![CDATA[<p>linux的ssh默认端口是22, 如果使用默认端口, 不是很安全, 很容易被人扫描. 所以一般改成其它的端口好点, 这里介绍所一下修改debian等linux的<strong>ssh默认端口</strong>22的方法.</p>
<p>修改配置文件<br />
vi /etc/ssh/sshd_config</p>
<p><span id="more-1488"></span>找到#Port 22一段，这里是标识默认使用22端口，修改为如下：<br />
Port 3342<br />
然后”:x” 保存退出</p>
<p>再运行/etc/init.d/sshd restart 重启ssh服务.</p>
<p>现在就可以用3342这个端口登录了.</p>
<p>如果设置防火墙, 还要配置：vi /etc/sysconfig/iptables</p>
<p>启用3342端口。<br />
执行/etc/init.d/iptables restart</p>
<p>&nbsp;</p>
<p><strong>如果要限制固定IP才能登录:</strong></p>
<p>先：修改/etc/hosts.deny，在其中加入sshd:ALL</p>
<p>然后：修改：/etc/hosts.allow，在其中进行如下设置：sshd:192.168.0.241</p>
<p>这样就可以限制只有192.168.0.241的IP通过SSH登陆上LINUX机器了。</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1352.html" title="Linux基本常用命令">Linux基本常用命令</a></li><li><a href="http://www.dengor.com/archives/1356.html" title="更新源问题导致debian6下Lnmp无法安装成功">更新源问题导致debian6下Lnmp无法安装成功</a></li><li><a href="http://www.dengor.com/archives/1312.html" title="debian无法解析时配置resolv.conf文件">debian无法解析时配置resolv.conf文件</a></li><li><a href="http://www.dengor.com/archives/1281.html" title="Debian5下安装PPTP VPN的配置方法">Debian5下安装PPTP VPN的配置方法</a></li><li><a href="http://www.dengor.com/archives/1230.html" title="vi编辑器使用指南">vi编辑器使用指南</a></li><li><a href="http://www.dengor.com/archives/1150.html" title="Linux系统中IPtables设置基础知识">Linux系统中IPtables设置基础知识</a></li><li><a href="http://www.dengor.com/archives/955.html" title="SSH下如何知道网站是以什么用户身份运行的">SSH下如何知道网站是以什么用户身份运行的</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1488.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IIS中的PHP出现PHP has encountered an Access Violation的解决方法[转]</title>
		<link>http://www.dengor.com/archives/1484.html</link>
		<comments>http://www.dengor.com/archives/1484.html#comments</comments>
		<pubDate>Wed, 25 Apr 2012 00:06:35 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1484</guid>
		<description><![CDATA[PHP在Windows Server 2003 服务器配置好IIS+PHP+MYSQL环境后运行 PHPMyAdmin 提示：PHP has encountered an Access Violation at xxxxx 百度了N个网页找到的全是一Copy了N次的同一个方法，什么权限什么PHP.INI了屁用没有，最后终于在一博友日志中找到有效解决办法，Very Easy 的方法。 这个问题似乎是：PHP已经遇到了一个访问冲突在xxxx 问题出在libmysql.dll上， 因为PHP和MYSQL都有libmysql.dll，并且是不一样的文件，我在配置IIS+PHP环境时是按照Chinaz的一文章，那文中说安装完 Mysql后再把libmysql.dll 复制到C:\Windows\system32下，结果这步就是导致问题的原因了。 解决问题方法很简单，把C:\Windows\system32 下的libmysql.dll换成PHP目录下的就OK了。 当然可以不用复制到系统目录下，直接在PHP.INI中指定extension_dir就可以啦，并且要增加系统环境变量 D:\PHP;D:\php\ext 原文: http://www.vcoo.me/show/1621.html 相关文章火车采集器为PHP插件增加扩展的方法一个PHP木马的代码lnmp安装后进程优化使用PHP的header函数修改网页的输出编码显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法修改PHP运行内存memory大小的几种方法PHP即时输出内容分享一个PHP的google翻译接口GTranslatePHP处理html简单好工具-simplehtmldomphp运行超时分步执行的简单方法]]></description>
			<content:encoded><![CDATA[<p>PHP在Windows Server 2003 服务器配置好IIS+PHP+MYSQL环境后运行 PHPMyAdmin 提示：<strong>PHP has encountered an Access Violation at xxxxx </strong>百度了N个网页找到的全是一Copy了N次的同一个方法，什么权限什么PHP.INI了屁用没有，最后终于在一博友日志中找到有效解决办法，Very Easy 的方法。</p>
<p><span id="more-1484"></span>这个问题似乎是：PHP已经遇到了一个访问冲突在xxxx</p>
<p>问题出在<strong>libmysql.dll</strong>上， 因为PHP和MYSQL都有libmysql.dll，并且是不一样的文件，我在配置IIS+PHP环境时是按照Chinaz的一文章，那文中说安装完 Mysql后再把libmysql.dll 复制到C:\Windows\system32下，结果这步就是导致问题的原因了。</p>
<p>解决问题方法很简单，把C:\Windows\system32 下的libmysql.dll换成PHP目录下的就OK了。</p>
<p>当然可以不用复制到系统目录下，直接在PHP.INI中指定extension_dir就可以啦，并且要增加系统环境变量 D:\PHP;D:\php\ext</p>
<p>原文: http://www.vcoo.me/show/1621.html</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1414.html" title="火车采集器为PHP插件增加扩展的方法">火车采集器为PHP插件增加扩展的方法</a></li><li><a href="http://www.dengor.com/archives/1328.html" title="一个PHP木马的代码">一个PHP木马的代码</a></li><li><a href="http://www.dengor.com/archives/1301.html" title="lnmp安装后进程优化">lnmp安装后进程优化</a></li><li><a href="http://www.dengor.com/archives/1162.html" title="使用PHP的header函数修改网页的输出编码">使用PHP的header函数修改网页的输出编码</a></li><li><a href="http://www.dengor.com/archives/1023.html" title="显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法">显示Deprecated: Assigning the return value of new by reference is deprecated in解决办法</a></li><li><a href="http://www.dengor.com/archives/903.html" title="修改PHP运行内存memory大小的几种方法">修改PHP运行内存memory大小的几种方法</a></li><li><a href="http://www.dengor.com/archives/855.html" title="PHP即时输出内容">PHP即时输出内容</a></li><li><a href="http://www.dengor.com/archives/809.html" title="分享一个PHP的google翻译接口GTranslate">分享一个PHP的google翻译接口GTranslate</a></li><li><a href="http://www.dengor.com/archives/798.html" title="PHP处理html简单好工具-simplehtmldom">PHP处理html简单好工具-simplehtmldom</a></li><li><a href="http://www.dengor.com/archives/789.html" title="php运行超时分步执行的简单方法">php运行超时分步执行的简单方法</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1484.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>儿子会创造新词”脸足口病”</title>
		<link>http://www.dengor.com/archives/1472.html</link>
		<comments>http://www.dengor.com/archives/1472.html#comments</comments>
		<pubDate>Mon, 23 Apr 2012 12:38:29 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[奇思怪想]]></category>
		<category><![CDATA[点滴记录]]></category>
		<category><![CDATA[去痘]]></category>
		<category><![CDATA[脸足口病]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1472</guid>
		<description><![CDATA[在大街上看到一个去痘的广告, 三岁多的儿子问我: “爸爸, 这个姐姐的脸怎么啦?” “是长痘痘了” “不是, 老师说了, 可能是脸足口病吧.” 推荐阅读网人网语收集文字中间加横线和对文字打叉Godaddy最新6月优惠码 网络笑话收集DEDE5.5最近不能采集图片本地化解决办法VPS性能测试程序UnixBench国外高性价比VPS-virpus集成google 百度 淘宝的搜索工具条DEDE自动生成关键字列表页面对百度很无奈]]></description>
			<content:encoded><![CDATA[<p>在大街上看到一个去痘的广告, 三岁多的儿子问我:</p>
<p>“爸爸, 这个姐姐的脸怎么啦?”</p>
<p>“是长痘痘了”</p>
<p>“不是, 老师说了, 可能是<strong>脸足口病</strong>吧.”</p>
<div  class="related_post_title">推荐阅读</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/715.html" title="网人网语收集">网人网语收集</a></li><li><a href="http://www.dengor.com/archives/256.html" title="文字中间加横线和对文字打叉">文字中间加横线和对文字打叉</a></li><li><a href="http://www.dengor.com/archives/805.html" title="Godaddy最新6月优惠码">Godaddy最新6月优惠码</a></li><li><a href="http://www.dengor.com/archives/136.html" title=" 网络笑话收集"> 网络笑话收集</a></li><li><a href="http://www.dengor.com/archives/342.html" title="DEDE5.5最近不能采集图片本地化解决办法">DEDE5.5最近不能采集图片本地化解决办法</a></li><li><a href="http://www.dengor.com/archives/948.html" title="VPS性能测试程序UnixBench">VPS性能测试程序UnixBench</a></li><li><a href="http://www.dengor.com/archives/1258.html" title="国外高性价比VPS-virpus">国外高性价比VPS-virpus</a></li><li><a href="http://www.dengor.com/archives/291.html" title="集成google 百度  淘宝的搜索工具条">集成google 百度  淘宝的搜索工具条</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/539.html" title="对百度很无奈">对百度很无奈</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1472.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>禁用关闭WordPress的留言评论邮件通知功能</title>
		<link>http://www.dengor.com/archives/1477.html</link>
		<comments>http://www.dengor.com/archives/1477.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 01:21:11 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[软件系统]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[关闭]]></category>
		<category><![CDATA[禁用]]></category>
		<category><![CDATA[评论]]></category>
		<category><![CDATA[邮件通知]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1477</guid>
		<description><![CDATA[安装wordpress的时候设置了管理员邮箱, 当博客有人评论留言时, 系统就会用mail函数发邮件通知, 这是一个很实用的功能, 让你不会漏掉别人的评论. 但如果垃圾评论太多, 你的邮箱也会充满了”&#8230;Please moderate&#8230;”之类的垃圾邮件, 所对垃圾留言太多的博客还是关闭Wordpress的评论邮件通知功能比较好. 如果是英文版找到:  Settings -&#62; Discussion -&#62; E-mail me whenever Anyone posts a comment A comment is held for moderation 把前面的勾勾去掉. 中文:  设置 -&#62; 讨论 -&#62; 何时发送电子邮件 有人发表评论时 有评论等待审核时 登高望远 以后要打开直接勾选就是了. 相关文章wordpress让评论不显示站外链接河南洛阳性奴案网友评论关闭WP的前台顶部控制条工具栏WP换空间后无法上传附件的解决办法从Google事件看互联网现状设置一下自己的头像更换WordPress主题模板中央决定用2年治理工程腐败等问题添加了fckeditor-for-wordpress-plugin]]></description>
			<content:encoded><![CDATA[<p>安装wordpress的时候设置了管理员邮箱, 当博客有人评论留言时, 系统就会用mail函数发邮件通知, 这是一个很实用的功能, 让你不会漏掉别人的评论. 但如果垃圾评论太多, 你的邮箱也会充满了”&#8230;Please moderate&#8230;”之类的垃圾邮件, 所对垃圾留言太多的博客还是关闭Wordpress的评论邮件通知功能比较好.</p>
<p><span id="more-1477"></span>如果是英文版找到:  Settings -&gt; Discussion -&gt; E-mail me whenever</p>
<blockquote><p>Anyone posts a comment<br />
A comment is held for moderation</p></blockquote>
<p>把前面的勾勾去掉.</p>
<p>中文:  设置 -&gt; 讨论 -&gt; 何时发送电子邮件</p>
<blockquote><p>有人发表评论时<br />
有评论等待审核时</p></blockquote>
<p><a title="登高望远" href="../">登高望远</a> 以后要打开直接勾选就是了.</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1274.html" title="wordpress让评论不显示站外链接">wordpress让评论不显示站外链接</a></li><li><a href="http://www.dengor.com/archives/1308.html" title="河南洛阳性奴案网友评论">河南洛阳性奴案网友评论</a></li><li><a href="http://www.dengor.com/archives/1196.html" title="关闭WP的前台顶部控制条工具栏">关闭WP的前台顶部控制条工具栏</a></li><li><a href="http://www.dengor.com/archives/1095.html" title="WP换空间后无法上传附件的解决办法">WP换空间后无法上传附件的解决办法</a></li><li><a href="http://www.dengor.com/archives/629.html" title="从Google事件看互联网现状">从Google事件看互联网现状</a></li><li><a href="http://www.dengor.com/archives/569.html" title="设置一下自己的头像">设置一下自己的头像</a></li><li><a href="http://www.dengor.com/archives/338.html" title="更换WordPress主题模板">更换WordPress主题模板</a></li><li><a href="http://www.dengor.com/archives/206.html" title="中央决定用2年治理工程腐败等问题">中央决定用2年治理工程腐败等问题</a></li><li><a href="http://www.dengor.com/archives/40.html" title="添加了fckeditor-for-wordpress-plugin">添加了fckeditor-for-wordpress-plugin</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1477.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>国内特定的IP访问国外特定的网站会出错</title>
		<link>http://www.dengor.com/archives/1470.html</link>
		<comments>http://www.dengor.com/archives/1470.html#comments</comments>
		<pubDate>Sun, 15 Apr 2012 23:43:40 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[软件系统]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1470</guid>
		<description><![CDATA[这是最近发现的, 几个在国外的网站, 经常会访问不了, 经常”连接超时”,在墙外没有问题,我还以为被墙了, 但重新拨号换了另一个IP双可以访问了, 比起以前的”连接被重置“,  看来墙又升级了, 只国内特定的IP访问国外特定的网站会出错. 联想起前段时间的国外网站大面积不能访问的情况,  这个G~W-F这东西应该经常升级更新, 以保证其强大无比. 推荐阅读网人网语收集文字中间加横线和对文字打叉Godaddy最新6月优惠码 网络笑话收集DEDE5.5最近不能采集图片本地化解决办法VPS性能测试程序UnixBench国外高性价比VPS-virpus集成google 百度 淘宝的搜索工具条DEDE自动生成关键字列表页面对百度很无奈]]></description>
			<content:encoded><![CDATA[<p>这是最近发现的, 几个在国外的网站, 经常会访问不了, 经常”连接超时”,在墙外没有问题,我还以为被墙了, 但重新拨号换了另一个IP双可以访问了, 比起以前的”<a href="../archives/812.html" rel="bookmark">连接被重置</a>“,  看来墙又升级了, 只国内特定的IP访问国外特定的网站会出错.</p>
<p>联想起前段时间的<a href="http://www.williamlong.info/archives/3059.html">国外网站大面积不能访问</a>的情况,  这个G~W-F这东西应该经常升级更新, 以保证其强大无比.</p>
<div  class="related_post_title">推荐阅读</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/715.html" title="网人网语收集">网人网语收集</a></li><li><a href="http://www.dengor.com/archives/256.html" title="文字中间加横线和对文字打叉">文字中间加横线和对文字打叉</a></li><li><a href="http://www.dengor.com/archives/805.html" title="Godaddy最新6月优惠码">Godaddy最新6月优惠码</a></li><li><a href="http://www.dengor.com/archives/136.html" title=" 网络笑话收集"> 网络笑话收集</a></li><li><a href="http://www.dengor.com/archives/342.html" title="DEDE5.5最近不能采集图片本地化解决办法">DEDE5.5最近不能采集图片本地化解决办法</a></li><li><a href="http://www.dengor.com/archives/948.html" title="VPS性能测试程序UnixBench">VPS性能测试程序UnixBench</a></li><li><a href="http://www.dengor.com/archives/1258.html" title="国外高性价比VPS-virpus">国外高性价比VPS-virpus</a></li><li><a href="http://www.dengor.com/archives/291.html" title="集成google 百度  淘宝的搜索工具条">集成google 百度  淘宝的搜索工具条</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/539.html" title="对百度很无奈">对百度很无奈</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1470.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Prestashop1.4的升级方法</title>
		<link>http://www.dengor.com/archives/1464.html</link>
		<comments>http://www.dengor.com/archives/1464.html#comments</comments>
		<pubDate>Fri, 13 Apr 2012 10:15:17 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[升级]]></category>
		<category><![CDATA[方法]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1464</guid>
		<description><![CDATA[程序的升级一直是个不可回避的问题, 为了功能和安全程序应该经常升级, prestashop的升级在网上很不好找到中文文档, 这里记录一下. prestashop如果在劫难逃.3到1.4升级比较麻烦, 但如果是1.4之间的升级很简单. 只要把修改过的modules和文件都先备份一下, 再用新版本的文件升级就可以了. 升级的方法就是在网站下建立一个新版本的prestashop文件夹, 把修改过的modules和文件覆盖进去, 运行里面install文件, 进行升级安装. 成功确认成功后再把里面的文件全部移出来就可以了. 英文的安装步骤: There are 5 steps to follow for a successful upgrade: Save and Backup Your Current Shop This step consists of backing up your database and your files. This step is not to be avoided, and should never ever be ignored or [...]]]></description>
			<content:encoded><![CDATA[<p>程序的升级一直是个不可回避的问题, 为了功能和安全程序应该经常升级, <a href="http://www.dengor.com/archives/tag/prestashop">prestashop</a>的升级在网上很不好找到中文文档, 这里记录一下.</p>
<p>prestashop如果在劫难逃.3到1.4升级比较麻烦, 但如果是1.4之间的升级很简单. 只要把修改过的modules和文件都先备份一下, 再用新版本的文件升级就可以了.</p>
<p><span id="more-1464"></span>升级的方法就是在网站下建立一个新版本的prestashop文件夹, 把修改过的modules和文件覆盖进去, 运行里面install文件, 进行升级安装. 成功确认成功后再把里面的文件全部移出来就可以了.</p>
<p>英文的安装步骤:</p>
<blockquote><p>There are 5 steps to follow for a successful upgrade:</p>
<ol>
<li><strong>Save and Backup Your Current Shop</strong><br />
This step consists of backing up your database and your files. This step is not to be avoided, and should never ever be ignored or skipped. Do not proceed to step 2 without completing this step.</li>
<li><strong>Getting Ready for the New Version</strong><br />
This step consists of preparing the files that you will need to copy into the new version of PrestaShop.</li>
<li><strong>Starting the Update</strong><br />
This step consists of starting the upgrade script which will upgrade your database.</li>
<li><strong>QA and Testing</strong><br />
This step consists of doing various checks to make sure that the store has been properly updated to the latest version.</li>
<li><strong>Going Live with the New Website</strong><br />
This step will accompany you in going live with the latest update.</li>
</ol>
<p>These five steps are necessary for a successful upgrade. Please pay close attention to any of them, and do not skip any steps.</p></blockquote>
<p>里注意要备份和覆盖的文件:</p>
<blockquote>
<ul>
<li><strong><tt>/mails</tt></strong> folder has all the mails that you have modified.<br />
If you have never made any modification there, do not worry about this folder.</li>
<li><strong><tt>/img</tt></strong> folder contains your logo and all the pictures of your store (categories, products…)</li>
<li><strong><tt>/modules</tt></strong> folder, only copy the modules that you have added.</li>
<li><strong><tt>/themes/yourtheme</tt></strong> folder, only copy your current theme. If you use the default theme from PrestaShop, do not copy it, you must use the one from the new version.</li>
<li><strong><tt>/download</tt></strong> and <strong><tt>/upload</tt></strong> folders, which contain all the downloadable products, the attached files and the customizable products. If you do no use any of these functionalities, do not copy these folders.</li>
<li><strong><tt>/classes</tt></strong> folder: in case you have added customized classes to this folder, copy them to the new <tt>/classes</tt> folder.<br />
In order to function properly with the latest version of PrestaShop, all these class files need to have their class name suffixed with “Core”:</p>
<ul>
<li>Open each and every one of the class files, and find the ones where the class name is not <tt>Core</tt>-suffixed. If you are upgrading from PrestaShop 1.4.x, you shouldn&#8217;t have any (except for custom classes).</li>
<li>Rename the class name, adding the “Core” suffix. For instance, “<tt>MyClass</tt>” becomes “<tt>MyClassCore</tt>“.<br />
Only change the name in the PHP class within file, not the name of the file itself!</li>
<li>If all the files already have “Core” in their classname (such as “<tt>class AttributeCore extends ObjectModel</tt>“), then you do not need to change anything.</li>
<li>Save the edited files.</li>
</ul>
</li>
<li><strong><tt>/config</tt></strong> folder, only copy the <tt>settings.inc.php</tt>file, then modify the following lines:
<ul>
<li>The line that contains “<tt>PS_BASE_URI</tt>” must contain the name of the subfolder where you are going to do your update. For instance, “<tt>/prestashop/</tt>” instead of “<tt>/</tt>“, or of the name of current folder for your current store.</li>
<li>If you modified your database credentials (you should not have had to do that normally), update all the lines that contain “<tt>DB_NAME</tt>“, “<tt>DB_USER</tt>” and “<tt>DB_PASSWD</tt>” too.</li>
</ul>
</li>
</ul>
</blockquote>
<p>1.4.4以后的升级可以在后台直接完成, 有明白的地方可以看一下英文版和升级指导:</p>
<p><a href="http://doc.prestashop.com/display/PS14/Updating+PrestaShop">http://doc.prestashop.com/display/PS14/Updating+PrestaShop</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1358.html" title="[转]prestashop 1.4.4的lighttpd rewrite规则">[转]prestashop 1.4.4的lighttpd rewrite规则</a></li><li><a href="http://www.dengor.com/archives/1291.html" title="prestashop在lnmpa下图片不显示问题">prestashop在lnmpa下图片不显示问题</a></li><li><a href="http://www.dengor.com/archives/1210.html" title="Prestashop设置Pre-defined message不换行问题">Prestashop设置Pre-defined message不换行问题</a></li><li><a href="http://www.dengor.com/archives/1117.html" title="学习方法的总结-[看到不错转载]">学习方法的总结-[看到不错转载]</a></li><li><a href="http://www.dengor.com/archives/931.html" title="实现Prestashop在nginx中的url重写">实现Prestashop在nginx中的url重写</a></li><li><a href="http://www.dengor.com/archives/907.html" title="快速定位Prestashop模块文件的位置">快速定位Prestashop模块文件的位置</a></li><li><a href="http://www.dengor.com/archives/900.html" title="Prestashop通过CSV文件导入图片问题">Prestashop通过CSV文件导入图片问题</a></li><li><a href="http://www.dengor.com/archives/897.html" title="理解免费网店系统prestashop中的hook概念">理解免费网店系统prestashop中的hook概念</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1464.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx图片和目录防盗链详细设置［转］</title>
		<link>http://www.dengor.com/archives/1462.html</link>
		<comments>http://www.dengor.com/archives/1462.html#comments</comments>
		<pubDate>Wed, 11 Apr 2012 14:31:21 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[图片]]></category>
		<category><![CDATA[防盗链]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1462</guid>
		<description><![CDATA[根据网友文章，自己实践，介绍3种Nginx防盗链的方法，节省你的宽带 一：一般的防盗链如下： location ~* \.(gif&#124;jpg&#124;png&#124;swf&#124;flv)$ { valid_referers none blocked www.ingnix.com ; if ($invalid_referer) { rewrite ^/ http://www.ingnix.com/retrun.html; #return 404; } } 第一行：gif&#124;jpg&#124;png&#124;swf&#124;flv 表示对gif、jpg、png、swf、flv后缀的文件实行防盗链 第二行： 表示对www.ingnix.com这2个来路进行判断 if{}里面内容的意思是，如果来路不是指定来路就跳转到http://www.ingnix.com/retrun.html页面，当然直接返回404也是可以的。 二：针对图片目录防止盗链 location /images/ { alias /data/images/; valid_referers none blocked server_names *.xok.la xok.la ; if ($invalid_referer) {return 403;} } 三：使用第三方模块ngx_http_accesskey_module实现Nginx防盗链 实现方法如下： 实现方法如下： 1. 下载NginxHttpAccessKeyModule模块文件：Nginx-accesskey-2.0.3.tar.gz； 2. 解压此文件后，找到nginx-accesskey-2.0.3下的config文件。编辑此文件：替换其中的”$HTTP_ACCESSKEY_MODULE”为”ngx_http_accesskey_module”； 3. 用一下参数重新编译nginx： ./configure --add-module=path/to/nginx-accesskey [...]]]></description>
			<content:encoded><![CDATA[<p>根据网友文章，自己实践，介绍3种Nginx防盗链的方法，节省你的宽带<br />
一：一般的防盗链如下：<br />
location ~* \.(gif|jpg|png|swf|flv)$ {<br />
valid_referers none blocked www.ingnix.com ;<br />
if ($invalid_referer) {<br />
rewrite ^/ http://www.ingnix.com/retrun.html;<br />
#return 404;<br />
}<br />
}<br />
<span id="more-1462"></span>第一行：gif|jpg|png|swf|flv<br />
表示对gif、jpg、png、swf、flv后缀的文件实行防盗链<br />
第二行： 表示对www.ingnix.com这2个来路进行判断<br />
if{}里面内容的意思是，如果来路不是指定来路就跳转到http://www.ingnix.com/retrun.html页面，当然直接返回404也是可以的。<br />
二：针对图片目录防止盗链<br />
location /images/ {<br />
alias /data/images/;<br />
valid_referers none blocked server_names *.xok.la xok.la ;<br />
if ($invalid_referer) {return 403;}<br />
}<br />
三：使用第三方模块ngx_http_accesskey_module实现Nginx防盗链<br />
实现方法如下：</p>
<p>实现方法如下：<br />
1. 下载NginxHttpAccessKeyModule模块文件：<a href="http://wiki.nginx.org/File:Nginx-accesskey-2.0.3.tar.gz">Nginx-accesskey-2.0.3.tar.gz</a>；<br />
2. 解压此文件后，找到nginx-accesskey-2.0.3下的config文件。编辑此文件：替换其中的”$HTTP_ACCESSKEY_MODULE”为”ngx_http_accesskey_module”；<br />
3. 用一下参数重新编译nginx：<br />
<code>./configure --add-module=path/to/nginx-accesskey</code><br />
4. 修改nginx的conf文件，添加以下几行：<br />
<code>location /download {<br />
accesskey             on;<br />
accesskey_hashmethod  md5;<br />
accesskey_arg         "key";<br />
accesskey_signature   "mypass$remote_addr";<br />
}</code><br />
其中：<br />
accesskey为模块开关；<br />
accesskey_hashmethod为加密方式MD5或者SHA-1；<br />
accesskey_arg为url中的关键字参数；<br />
accesskey_signature为加密值，此处为mypass和访问IP构成的字符串。</p>
<p>访问测试脚本download.php：<br />
<code>&lt;?<br />
$ipkey= md5("mypass".$_SERVER['REMOTE_ADDR']);<br />
$output_add_key="&lt;a href=http://www.inginx.com/download/G3200507120520LM.rar?key=".$ipkey."&gt;download_add_key&lt;/a&gt;&lt;br /&gt;";<br />
$output_org_url="&lt;a href=http://www.inginx.com/download/G3200507120520LM.rar&gt;download_org_path&lt;/a&gt;&lt;br /&gt;";<br />
echo $output_add_key;<br />
echo $output_org_url;<br />
?&gt;</code><br />
访问第一个download_add_key链接可以正常下载，第二个链接download_org_path会返回403 Forbidden错误。</p>
<p>参考：<br />
<a href="http://wiki.nginx.org/NginxHttpAccessKeyModule#accesskey">NginxHttpAccessKeyModule</a></p>
<p>出处：<a href="http://www.inginx.com/nginx-referer-configure/">http://www.inginx.com/nginx-referer-configure/</a></p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1317.html" title="让nginx按域名来反向代理">让nginx按域名来反向代理</a></li><li><a href="http://www.dengor.com/archives/1301.html" title="lnmp安装后进程优化">lnmp安装后进程优化</a></li><li><a href="http://www.dengor.com/archives/1291.html" title="prestashop在lnmpa下图片不显示问题">prestashop在lnmpa下图片不显示问题</a></li><li><a href="http://www.dengor.com/archives/1267.html" title="Nginx(LNMP)反向代理配置教程[转]">Nginx(LNMP)反向代理配置教程[转]</a></li><li><a href="http://www.dengor.com/archives/1255.html" title="Nginx出现502后自动重启脚本">Nginx出现502后自动重启脚本</a></li><li><a href="http://www.dengor.com/archives/1191.html" title="Nginx设置404 Not Found页面的方法">Nginx设置404 Not Found页面的方法</a></li><li><a href="http://www.dengor.com/archives/1134.html" title="nginx中301重新定向的方法">nginx中301重新定向的方法</a></li><li><a href="http://www.dengor.com/archives/1125.html" title="Nginx默认网站的设置">Nginx默认网站的设置</a></li><li><a href="http://www.dengor.com/archives/1100.html" title="Nginx下把no-www转向到www的重写规则">Nginx下把no-www转向到www的重写规则</a></li><li><a href="http://www.dengor.com/archives/931.html" title="实现Prestashop在nginx中的url重写">实现Prestashop在nginx中的url重写</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1462.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>卫生部拟撤销多种食品添加剂的网议</title>
		<link>http://www.dengor.com/archives/1456.html</link>
		<comments>http://www.dengor.com/archives/1456.html#comments</comments>
		<pubDate>Tue, 10 Apr 2012 03:17:37 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网络热评]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1456</guid>
		<description><![CDATA[国卫生部拟撤销38种食品添加剂 食品颜色或变单调人吃了这么多年添加剂，寿命未见缩短，何也？？早就该这样做了。官员不作为的太多了    总算干了一桩好事，就看今后执行效果，食品颜色单调是什么坏事吗？就怕效果为“零”支持撤销38种食品添加剂！健康是第一位的。撤销后应加强检查，严厉查处。 健康为先。人民吃的是营养食品，不是花色。严重支持。本来就没有什么实际意义，还有健康风险的东西早就应该禁止。 撤得好。回归自然好。应该把只是为了好看而添加的对人身体没有任何好处的添加济全部给禁止了。 我宁愿要吃朴实无华的健康食品！也不要吃漂亮艳丽的有毒食品！支持政策推出！很好！支持！百姓的健康才是根本！何也个屁啊，你看看现在中国病死的是多少，癌症病人是多少就知道了。。。 原来不知道，看了吓一跳。食品添加剂，光是拟撤销的就有这么多！！如果加上不撤销的，还不知道有多少！ 大部分食品的颜色本来就是单调的，很自然有什么不好？我们吃的是健康，不是好看才对。 添 加剂残害人类健康，中国食品能吃吗？38种？全部取消才对！早该如此，之前还老嘴硬说没危害！冰激淋我只选原味白色，买食品绝不买带添加剂的，基本上不买 熟食，很多添加剂早该废除，人们早就意识到添加剂的危害，人们再也不会被好看的颜色诱惑而去买带有添加剂的食品，过去买是因为被蒙在鼓里，不知道放了化学 添加剂，随着真相渐渐被揭穿，人们对食品中放入化学添加剂恨之入骨，期盼政府严把食品关，严惩一切贩卖有害食品着者。 现在的问题是，不在名录和禁止使用的他照样给你生产和使用。关键不是有没有法，而是严格执法的问题，业者的自律和政府的监管缺一不可。 为什么要发生许多事之后才来改革啊！长期吃添加剂有害健康，这连傻子都知道，还用什么权威专家说啊。食品添加剂早就应该取消了，人吃的是口味不是颜色。 吃 那么多没用的添加剂既影响健康又浪费社会财富单调？食品是用来吃的还是用来看的？使用天然提取的可食用色素我不反对，但是人工化学合成色素我坚决抵制，何 况，奸商说我保证百分之百使用的都是天然提取的食用色素，，，，，至于你们信不信？反正我是不信！！总算干了点正事，吃了这么多年的毒药，这才想起来。做 好事难，为人民办事更难太好了，最不喜欢吃那些带颜色的东西，尤其是小孩总要买，，有时候真的没办法！ 推荐阅读网人网语收集文字中间加横线和对文字打叉Godaddy最新6月优惠码 网络笑话收集DEDE5.5最近不能采集图片本地化解决办法VPS性能测试程序UnixBench国外高性价比VPS-virpus集成google 百度 淘宝的搜索工具条DEDE自动生成关键字列表页面对百度很无奈]]></description>
			<content:encoded><![CDATA[<p>国卫生部拟撤销38种食品添加剂 食品颜色或变单调人吃了这么多年添加剂，寿命未见缩短，何也？？早就该这样做了。官员不作为的太多了</p>
<p title="体育热评">   总算干了一桩好事，就看今后执行效果，<a title="颜色单调就单调卫生部拟撤销多种食品添加剂的网议" href="http://www.yc1388.com/gn/4131.html">食品颜色单调</a>是什么坏事吗？就怕效果为“零”支持撤销38种食品添加剂！健康是第一位的。撤销后应加强检查，严厉查处。</p>
<p><span id="more-1456"></span>健康为先。人民吃的是营养食品，不是花色。严重支持。本来就没有什么实际意义，还有健康风险的东西早就应该禁止。<br />
撤得好。回归自然好。应该把只是为了好看而添加的对人身体没有任何好处的添加济全部给禁止了。</p>
<p>我宁愿要吃朴实无华的健康食品！也不要吃漂亮艳丽的有毒食品！支持政策推出！很好！支持！百姓的健康才是根本！何也个屁啊，你看看现在中国病死的是多少，癌症病人是多少就知道了。。。</p>
<p>原来不知道，看了吓一跳。食品添加剂，光是拟撤销的就有这么多！！如果加上不撤销的，还不知道有多少！ 大部分食品的颜色本来就是单调的，很自然有什么不好？我们吃的是健康，不是好看才对。</p>
<p>添 加剂残害人类健康，中国食品能吃吗？38种？全部取消才对！早该如此，之前还老嘴硬说没危害！冰激淋我只选原味白色，买食品绝不买带添加剂的，基本上不买 熟食，很多添加剂早该废除，人们早就意识到添加剂的危害，人们再也不会被好看的颜色诱惑而去买带有添加剂的食品，过去买是因为被蒙在鼓里，不知道放了化学 添加剂，随着真相渐渐被揭穿，人们对食品中放入化学添加剂恨之入骨，期盼政府严把食品关，严惩一切贩卖有害食品着者。</p>
<p>现在的问题是，不在名录和禁止使用的他照样给你生产和使用。关键不是有没有法，而是严格执法的问题，业者的自律和政府的监管缺一不可。</p>
<p>为什么要发生许多事之后才来改革啊！长期吃添加剂有害健康，这连傻子都知道，还用什么权威专家说啊。食品添加剂早就应该取消了，人吃的是口味不是颜色。</p>
<p>吃 那么多没用的添加剂既影响健康又浪费社会财富单调？食品是用来吃的还是用来看的？使用天然提取的可食用色素我不反对，但是人工化学合成色素我坚决抵制，何 况，奸商说我保证百分之百使用的都是天然提取的食用色素，，，，，至于你们信不信？反正我是不信！！总算干了点正事，吃了这么多年的毒药，这才想起来。做 好事难，为人民办事更难太好了，最不喜欢吃那些带颜色的东西，尤其是小孩总要买，，有时候真的没办法！</p>
<div  class="related_post_title">推荐阅读</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/715.html" title="网人网语收集">网人网语收集</a></li><li><a href="http://www.dengor.com/archives/256.html" title="文字中间加横线和对文字打叉">文字中间加横线和对文字打叉</a></li><li><a href="http://www.dengor.com/archives/805.html" title="Godaddy最新6月优惠码">Godaddy最新6月优惠码</a></li><li><a href="http://www.dengor.com/archives/136.html" title=" 网络笑话收集"> 网络笑话收集</a></li><li><a href="http://www.dengor.com/archives/342.html" title="DEDE5.5最近不能采集图片本地化解决办法">DEDE5.5最近不能采集图片本地化解决办法</a></li><li><a href="http://www.dengor.com/archives/948.html" title="VPS性能测试程序UnixBench">VPS性能测试程序UnixBench</a></li><li><a href="http://www.dengor.com/archives/1258.html" title="国外高性价比VPS-virpus">国外高性价比VPS-virpus</a></li><li><a href="http://www.dengor.com/archives/291.html" title="集成google 百度  淘宝的搜索工具条">集成google 百度  淘宝的搜索工具条</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/539.html" title="对百度很无奈">对百度很无奈</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1456.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>织梦dede后台文件列表按文件名排序的方法</title>
		<link>http://www.dengor.com/archives/1442.html</link>
		<comments>http://www.dengor.com/archives/1442.html#comments</comments>
		<pubDate>Sat, 31 Mar 2012 01:48:09 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[dede]]></category>
		<category><![CDATA[dir]]></category>
		<category><![CDATA[后台]]></category>
		<category><![CDATA[排序]]></category>
		<category><![CDATA[文件列表]]></category>
		<category><![CDATA[文件名]]></category>
		<category><![CDATA[织梦]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1442</guid>
		<description><![CDATA[后台文件列表按文件名排序的方法: 织梦dede系统的后台文件, 默认的排序很乱, 不是按名称, 也不是按时间, 如果目录内容很多的话, 很难找到自己想要的文件: 实在是太不方便了, 于是想让这些文件列表按名字排序, 看了一下后台的文件, 原来是因为php的函数dir引起的, 以”默认模板管理”在文件列表为例, 在后台的找到模板文件: /dede/templets/templets_default.htm (dede为你的后台目录) ,打开这个文件找到:  &#60;?php $dh = dir($templetdird); while($filename=$dh-&#62;read()) { if(!preg_match(“#\.htm#”, $filename)) continue; $filetime = filemtime($templetdird.&#8217;/&#8217;.$filename); $filetime = MyDate(“Y-m-d H:i”,$filetime); $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : &#8216;未知模板&#8217;); ?&#62; 可以看得出来使用了PHP的dir函数导致的, dir()读取的文件是无序的, 现在我们要想办法让他按名字排序, 这里可以改另一个读取目录文件的函数scandir(); 这个函数的文件会按文件名称排序, 改成下面这样: &#60;?php $files = scandir($templetdird); foreach ($files as $filename) { [...]]]></description>
			<content:encoded><![CDATA[<p>后台文件列表按文件名排序的方法: 织梦<a title="dede相关文章" href="http://www.dengor.com/archives/tag/dede">dede</a>系统的后台文件, 默认的排序很乱, 不是按名称, 也不是按时间, 如果目录内容很多的话, 很难找到自己想要的文件:</p>
<div id="attachment_1444" class="wp-caption aligncenter" style="width: 359px"><a href="http://www.dengor.com/archives/1442.html/dir" rel="attachment wp-att-1444"><img class="size-full wp-image-1444" title="dir" src="http://www.dengor.com/wp-content/uploads/2012/03/dir.jpg" alt="没有按名字排序" width="349" height="243" /></a><p class="wp-caption-text">没有按名字排序</p></div>
<p><span id="more-1442"></span>实在是太不方便了, 于是想让这些文件列表按名字排序, 看了一下后台的文件, 原来是因为php的函数dir引起的, 以”默认模板管理”在文件列表为例, 在后台的找到模板文件: /dede/templets/templets_default.htm (dede为你的后台目录) ,打开这个文件找到:</p>
<blockquote><p> &lt;?php<br />
$dh = dir($templetdird);<br />
while($filename=$dh-&gt;read())<br />
{<br />
if(!preg_match(“#\.htm#”, $filename)) continue;<br />
$filetime = filemtime($templetdird.&#8217;/&#8217;.$filename);<br />
$filetime = MyDate(“Y-m-d H:i”,$filetime);<br />
$fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : &#8216;未知模板&#8217;);<br />
?&gt;</p></blockquote>
<p>可以看得出来使用了PHP的dir函数导致的, dir()读取的文件是无序的, 现在我们要想办法让他按名字排序, 这里可以改另一个读取目录文件的函数scandir(); 这个函数的文件会按文件名称排序, 改成下面这样:</p>
<blockquote><p>&lt;?php<br />
$files = scandir($templetdird);<br />
foreach ($files as $filename)<br />
{<br />
if(!preg_match(“#\.htm#”, $filename)) continue;<br />
$filetime = filemtime($templetdird.&#8217;/&#8217;.$filename);<br />
$filetime = MyDate(“Y-m-d H:i”,$filetime);<br />
$fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : &#8216;未知模板&#8217;);<br />
?&gt;</p></blockquote>
<p>文件已经全部按名字排序了,很容易找到自己要的文件:</p>
<div id="attachment_1445" class="wp-caption aligncenter" style="width: 344px"><a href="http://www.dengor.com/archives/1442.html/dir2" rel="attachment wp-att-1445"><img class="size-full wp-image-1445" title="dir2" src="http://www.dengor.com/wp-content/uploads/2012/03/dir2.jpg" alt="按名字排序的列表" width="334" height="242" /></a><p class="wp-caption-text">按名字排序的列表</p></div>
<p>后台还有其它的有文件列表的地方也一样修改就可以了.</p>
<p><span style="color: #a52a2a;">原创文章 转载请注明出处: <a href="../">登高望远</a><br />
[<a href="http://www.dengor.com/archives/1442.html">http://www.dengor.com/archives/1442.html</a> ]</span></p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1439.html" title="织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]">织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]</a></li><li><a href="http://www.dengor.com/archives/302.html" title="DEDE模板中include的优先级问题">DEDE模板中include的优先级问题</a></li><li><a href="http://www.dengor.com/archives/1491.html" title="真正能解决dede5.7的验证码不显示的办法">真正能解决dede5.7的验证码不显示的办法</a></li><li><a href="http://www.dengor.com/archives/1402.html" title="DEDECMS5.7删除默认友情链接的方法">DEDECMS5.7删除默认友情链接的方法</a></li><li><a href="http://www.dengor.com/archives/925.html" title="dede升级到5.6封面栏目不显示文章列表">dede升级到5.6封面栏目不显示文章列表</a></li><li><a href="http://www.dengor.com/archives/776.html" title="让DEDE的图片附件按月保存">让DEDE的图片附件按月保存</a></li><li><a href="http://www.dengor.com/archives/734.html" title="让DEDE的不显示未审核稿件的标签">让DEDE的不显示未审核稿件的标签</a></li><li><a href="http://www.dengor.com/archives/729.html" title="DEDE自动审核发布文章">DEDE自动审核发布文章</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/511.html" title="DEDE开启伪静态的重写设置">DEDE开启伪静态的重写设置</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1442.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>织梦DEDECMS5.6升级到5.7后后台的类目和发布人为空的解决办法[转]]</title>
		<link>http://www.dengor.com/archives/1439.html</link>
		<comments>http://www.dengor.com/archives/1439.html#comments</comments>
		<pubDate>Mon, 26 Mar 2012 02:22:50 +0000</pubDate>
		<dc:creator>dengor</dc:creator>
				<category><![CDATA[网站程序]]></category>
		<category><![CDATA[dede]]></category>
		<category><![CDATA[发布人]]></category>
		<category><![CDATA[类目]]></category>
		<category><![CDATA[织梦]]></category>

		<guid isPermaLink="false">http://www.dengor.com/?p=1439</guid>
		<description><![CDATA[话说纷纭最近在忙着搞tipask的接口和相关的配套程序，花费了1天多的时间搞定了，具体情况晚会和大家分享，今天说说织梦DEDECMS5.6升级到5.7后，后台的类目和发布人为空的事情。 原因起自我们的编辑同志嫌弃5.6的后台编辑器不够给力，经常容易出错，所以我觉得把后台给升级了，到DEDECMS5.7把。由于比较自信，也比较相信DEDECMS的官方团队，程序数据都没备份直接复制升级文件进去了。升级完毕，到后台升级补丁最最新。然后升级过程中就发现有2个SQL语句没有执行，按照官方说明，找到目录下uperr.txt 文件，手工执行了一次还不行，于是就放弃了。天知道是哪里出错了。 alter table `#@__addoninfos` CHANGE `infotype`  `infotype` char(20)  NOT NULL    default ’0′  COMMENT ”  AFTER `nativeplace`; alter table `#@__member` ADD `checkmail` smallint(6)  NOT NULL    default ’-1′  COMMENT ”  AFTER `loginip`; 出错的原因是貌似是表结构有问题，手工修改了才勉强通过。 这个时候编辑开始吵着说不能添加文档了，一添加就出错。说不能保存到数据表里面，更新下后台的缓存，问题顺利的解决。返回后台的时候发现了一个大问题。 &#160; 如上图所示，DEDECMS后台中的类目和发布人居然成空了？先是怀疑模型有问题检查一遍没事，编辑等其他操作都正常。又是怀疑升级不完全，重新升级覆盖了一次，检查了下文件等。也在官方网站查找了，发现此类问题遇到的人还不少。官方没有说辞，就有几个版主回复说可能是缓存的问题，清理下就OK，清理了N编后就失望了。托熟悉的官方朋友问，也没结果。于是就放弃了。纠结了几天，上午的时候，再次想到这个问题。参考网上各色人等的办法，几乎就要学某网友，从5.6升级到5.7，再备份，再恢复啥的。悲催的是我5.6的数据库都没有备份。偶然就翻到了2010年08月的一个帖子说的是DEDECMS5.5不显示发布人的名字。有点类似的案例。下面有人偶然的提到了{dede:field.adminname/} 这个标签，想到了织梦的后台模板其实也是跟我们做的一样的。都可以执行和调用织梦自己的模板，于是乎想起去修改下后台模板，用{dede:field.adminname/} 这个标记替换原来的看看怎么样。 在后台模板/dede/templets/content_list.htm目录栏查找到第81行 ；在&#60;td&#62;{dede:field.arcrank function=”GetRankName(@me)”/}&#60;/td&#62;这个标记中加入了，{dede:field.adminname/}。然后随手试了试，刷新下后台后发现居然显示作者名字了。而且连带的类目也显示了。如下图所示： 以为是{dede:field.adminname/}这个标签起作用了。后来一想不对，类目哪里我可没改。后来删除了 {dede:field.adminname/}这个标记，等于原模板都没改动，再刷新后台，依旧正常了，很诡异的事件发生了。不管怎么样，算是解决问题 了。 思索再三，没空去看代码找原因，想到的可能还是那个问题，缓存，修改文件后，DEDECMS后台模板的缓存就变了。于是缓存更新后就正常了。但是奇迹的是后台的更新缓存的功能却不行。让人迷惑不解。 自此问题解决，鉴于官方有不少遇到这个问题，所以写下这个小经历，仅供各位参考。 &#160; 转载自纷纭(张欢)-郑州SEO/SEM网站优化 &#160; 直接把根目录下\data\tplcache下的所有文件手动删除之后，正常了。还是缓存的事儿。而后台的清除缓存功能只是清除前台模板的缓存的。 相关文章织梦dede后台文件列表按文件名排序的方法DEDE模板中include的优先级问题真正能解决dede5.7的验证码不显示的办法DEDECMS5.7删除默认友情链接的方法dede升级到5.6封面栏目不显示文章列表让DEDE的图片附件按月保存让DEDE的不显示未审核稿件的标签DEDE自动审核发布文章DEDE自动生成关键字列表页面DEDE开启伪静态的重写设置]]></description>
			<content:encoded><![CDATA[<p>话说纷纭最近在忙着搞tipask的接口和相关的配套程序，花费了1天多的时间搞定了，具体情况晚会和大家分享，今天说说织梦DEDECMS5.6升级到5.7后，后台的类目和发布人为空的事情。</p>
<p><span id="more-1439"></span>原因起自我们的编辑同志嫌弃5.6的后台编辑器不够给力，经常容易出错，所以我觉得把后台给升级了，到DEDECMS5.7把。由于比较自信，也比较相信DEDECMS的官方团队，程序数据都没备份直接复制升级文件进去了。升级完毕，到后台升级补丁最最新。然后升级过程中就发现有2个SQL语句没有执行，按照官方说明，找到目录下uperr.txt 文件，手工执行了一次还不行，于是就放弃了。天知道是哪里出错了。</p>
<p>alter table `#@__addoninfos` CHANGE `infotype`  `infotype` char(20)  NOT NULL    default ’0′  COMMENT ”  AFTER `nativeplace`;</p>
<p>alter table `#@__member` ADD `checkmail` smallint(6)  NOT NULL    default ’-1′  COMMENT ”  AFTER `loginip`;</p>
<p>出错的原因是貌似是表结构有问题，手工修改了才勉强通过。</p>
<p>这个时候编辑开始吵着说不能添加文档了，一添加就出错。说不能保存到数据表里面，更新下后台的缓存，问题顺利的解决。返回后台的时候发现了一个大问题。</p>
<p><img title="织梦DEDECMS5.6升级到5.7后，后台的类目和发布人为空的解决办法（1）" src="http://photo.staticsdo.com/a1/94/139/90/66046-1185973133-8_765.jpg" alt="" width="765" height="180" /></p>
<p>&nbsp;</p>
<p>如上图所示，DEDECMS后台中的类目和发布人居然成空了？先是怀疑模型有问题检查一遍没事，编辑等其他操作都正常。又是怀疑升级不完全，重新升级覆盖了一次，检查了下文件等。也在官方网站查找了，发现此类问题遇到的人还不少。官方没有说辞，就有几个版主回复说可能是缓存的问题，清理下就OK，清理了N编后就失望了。托熟悉的官方朋友问，也没结果。于是就放弃了。纠结了几天，上午的时候，再次想到这个问题。参考网上各色人等的办法，几乎就要学某网友，从5.6升级到5.7，再备份，再恢复啥的。悲催的是我5.6的数据库都没有备份。偶然就翻到了2010年08月的一个帖子说的是DEDECMS5.5不显示发布人的名字。有点类似的案例。下面有人偶然的提到了{dede:field.adminname/} 这个标签，想到了织梦的后台模板其实也是跟我们做的一样的。都可以执行和调用织梦自己的模板，于是乎想起去修改下后台模板，用{dede:field.adminname/} 这个标记替换原来的看看怎么样。</p>
<p><img title="织梦DEDECMS5.6升级到5.7后，后台的类目和发布人为空的解决办法（2）" src="http://photo.staticsdo.com/a1/158/385/76/66047-1185973133-8_765.jpg" alt="" width="609" height="359" /></p>
<p>在后台模板/dede/templets/content_list.htm目录栏查找到第81行 ；在&lt;td&gt;{dede:field.arcrank function=”GetRankName(@me)”/}&lt;/td&gt;这个标记中加入了，{dede:field.adminname/}。然后随手试了试，刷新下后台后发现居然显示作者名字了。而且连带的类目也显示了。如下图所示：</p>
<p><img title="织梦DEDECMS5.6升级到5.7后，后台的类目和发布人为空的解决办法（3）" src="http://photo.staticsdo.com/a1/290/88/236/66048-1185973133-8_765.jpg" alt="" width="683" height="208" /></p>
<p>以为是{dede:field.adminname/}这个标签起作用了。后来一想不对，类目哪里我可没改。后来删除了 {dede:field.adminname/}这个标记，等于原模板都没改动，再刷新后台，依旧正常了，很诡异的事件发生了。不管怎么样，算是解决问题 了。</p>
<p>思索再三，没空去看代码找原因，想到的可能还是那个问题，缓存，修改文件后，DEDECMS后台模板的缓存就变了。于是缓存更新后就正常了。但是奇迹的是后台的更新缓存的功能却不行。让人迷惑不解。</p>
<p>自此问题解决，鉴于官方有不少遇到这个问题，所以写下这个小经历，仅供各位参考。</p>
<p>&nbsp;</p>
<p><strong></strong> 转载自<a href="http://blog.sn77.cn/">纷纭(张欢)-郑州SEO/SEM网站优化</a></p>
<p>&nbsp;</p>
<p>直接把根目录下\data\tplcache下的所有文件手动删除之后，正常了。还是缓存的事儿。而后台的清除缓存功能只是清除前台模板的缓存的。</p>
<div  class="related_post_title">相关文章</div><ul class="related_post"><li><a href="http://www.dengor.com/archives/1442.html" title="织梦dede后台文件列表按文件名排序的方法">织梦dede后台文件列表按文件名排序的方法</a></li><li><a href="http://www.dengor.com/archives/302.html" title="DEDE模板中include的优先级问题">DEDE模板中include的优先级问题</a></li><li><a href="http://www.dengor.com/archives/1491.html" title="真正能解决dede5.7的验证码不显示的办法">真正能解决dede5.7的验证码不显示的办法</a></li><li><a href="http://www.dengor.com/archives/1402.html" title="DEDECMS5.7删除默认友情链接的方法">DEDECMS5.7删除默认友情链接的方法</a></li><li><a href="http://www.dengor.com/archives/925.html" title="dede升级到5.6封面栏目不显示文章列表">dede升级到5.6封面栏目不显示文章列表</a></li><li><a href="http://www.dengor.com/archives/776.html" title="让DEDE的图片附件按月保存">让DEDE的图片附件按月保存</a></li><li><a href="http://www.dengor.com/archives/734.html" title="让DEDE的不显示未审核稿件的标签">让DEDE的不显示未审核稿件的标签</a></li><li><a href="http://www.dengor.com/archives/729.html" title="DEDE自动审核发布文章">DEDE自动审核发布文章</a></li><li><a href="http://www.dengor.com/archives/532.html" title="DEDE自动生成关键字列表页面">DEDE自动生成关键字列表页面</a></li><li><a href="http://www.dengor.com/archives/511.html" title="DEDE开启伪静态的重写设置">DEDE开启伪静态的重写设置</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.dengor.com/archives/1439.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

