<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[星光博客]]></title> 
<atom:link href="http://www.funjan.com/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[美好的生活需要用心记录，博客访问量增大从路由搬到了HTPC上了，支持IPv6用户访问,支持ssl安全访问！]]></description>
<link>http://www.funjan.com/</link>
<language>zh-cn</language>
<generator>emlog</generator>

<item>
    <title>看完这个，胜过你读的所有的书</title>
    <link>http://www.funjan.com/?post=133</link>
    <description><![CDATA[<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    弟子问老师:"您能谈谈人类的奇怪之处吗?"老师答道:"他们急于成长,然后又哀叹失去的童年;他们以健康换取金钱,不久后又想用金钱恢复健康.他们对未来焦虑不已,却又无视现在的幸福.因此,他们既不活在当下,也不活在未来.他们活着仿佛从来不会死亡;临死前,又仿佛从未活过."
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    2
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079182" src="http://www.funjan.com/content/uploadfile/201610/d2946b04d1ad4602f5ae0f07a8c55c2820161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    有一天,狗问狼:你有房子车子吗?狼说没有.狗又问:你有一日三餐和水果吗?狼说没有.那你有人哄你玩带你逛街吗?狼说没有.狗鄙视的说:你真无能,怎么什么都没有!狼笑了:我有不吃屎的个性,我有我追逐的目标;我有你没有的自由;我是孤寂的狼,而你只是一只自以为幸福的狗!
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    3
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    一滴墨汁落在一杯清水里,这杯水立即变色,不能喝了;一滴墨汁融在大海里,大海依然是蔚蓝色的大海.为什么?因为两者的肚量不一样.不熟的麦穗直刺刺地向上挺着,成熟的麦穗低垂着头.为什么?因为两者的份量不一样.宽容别人,就是肚量;谦卑自己,就是份量;合起来,就是一个人的质量.
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    4
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079184" src="http://www.funjan.com/content/uploadfile/201610/381935cc532289926907ee5558409a3420161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    鸡生蛋,鸡也拉屎,但你肯定只吃蛋,不吃屎的,对鸡如此,对人亦然.每个出色的人,都会生蛋,也会拉屎,例如他很会开公司,那你就买他家股票来赚钱,至于他乱说话,你就不用学.你最要紧是多吃鸡蛋,少理鸡屎,吸取营养,壮大自己.很多人放着蛋不吃,整天追究屎,难道你靠吃屎能变壮大?
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    5
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079185" src="http://www.funjan.com/content/uploadfile/201610/8a60084b8c1e9cc49b740df66c36a38520161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    师父问:如果你要烧壶开水,生火到一半时发现柴不够,你该怎么办?有的弟子说赶快去找,有的说去借,有的说去买.师父说:为什么不把壶里的水倒掉一些呢?世事总不能万般如意,有舍才有得.
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    6
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079186" src="http://www.funjan.com/content/uploadfile/201610/df72d06c85ae0701005cb96020c51ad520161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    哈佛一调查报告说,人生平均只有7次决定人生走向的机会,两次机会间相隔约7年,大概25岁后开始出现,75岁以后就不会有什么机会了.这50年里的7次机会,第一次不易抓到,因为太年轻;最后一次也不用抓,因为太老.这样只剩5次,这里面又有两次会不小心错过,所以实际上只有3次机会了.
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    7
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079187" src="http://www.funjan.com/content/uploadfile/201610/1fdb3d09fb07922bac6f8d4b90a3026020161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    老喇嘛对小喇嘛说:当你来到这个世界的时候,你在哭,但别人都很开心;当你离开这个世界的时候,别人都在哭,你自己很喜悦.所以,死亡并不可悲、生命亦不可喜.
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    8
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079188" src="http://www.funjan.com/content/uploadfile/201610/e0aabcfa433117f47da0e5d98d606d0f20161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    老人对他的孩子说:"攥紧你的拳头,告诉我什么感觉?"孩子攥紧拳头:"有些累!"老人:"试着再用些力!"孩子:"更累了!有些憋气!"老人:"那你就放开它!"孩子长出一气:"轻松多了!"老人:"当你感到累的时候,你攥得越紧就越累,放了它,就能释然许多!"多简单的道理,放手才轻松!
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    9
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079189" src="http://www.funjan.com/content/uploadfile/201610/ef2624a000fab057708ca40a3aa45f7820161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    如果不小心丢掉100块钱,好像丢在某个地方,你会花200块钱的车费去把那100块找回来吗?一个愚蠢的问题,可类似事情却在人生中不断发生:被人骂了一句话,却花了无数时间难过;为一件事情发火,不惜损人不利已,不惜血本,只为报复;失去一个人的感情,明知一切已无法挽回,却还伤心好久……
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    <strong style="margin:0px;padding:0px;">有一张图,绝对是在说你,你信吗</strong> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    如果你不出去走走，你会以为这就是世界。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079190" src="http://www.funjan.com/content/uploadfile/201610/ae94ad2e4f6ef7ce4d5f41272f617a6f20161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    你永远无法满足所有人。走自己的路，让SB说去吧！
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079191" src="http://www.funjan.com/content/uploadfile/201610/86ff2bc9d2e8ce5b50986394b36f3a5320161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    真正的婚姻不是生活一辈子不吵架， 而是吵架了还能生活一辈子。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079192" src="http://www.funjan.com/content/uploadfile/201610/0934acc58115bac086262dab70ed4b9420161019020029.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    表面繁荣未必是好事，抛开表象看实质才是人生真谛。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079193" src="http://www.funjan.com/content/uploadfile/201610/63594bd8afa856b7fc8e6e41e7e7831220161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    别沮丧，生活就像心电图，一帆风顺就证明你挂了。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079194" src="http://www.funjan.com/content/uploadfile/201610/308a3e6fe63f4a1fcaf0909805cd06cc20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    当下一个是你时，有些事就没有那么好笑了！
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079195" src="http://www.funjan.com/content/uploadfile/201610/07d4ac92d86613b35210389ec2a0802020161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    可怕的不是真坏人，而是假好人！
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079196" src="http://www.funjan.com/content/uploadfile/201610/0a53ab97bf783c435941496d358d52a720161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    乐观是一种态度。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079197" src="http://www.funjan.com/content/uploadfile/201610/90bba295e67740e5231d10ea936e9d7c20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    你所知道的不要全说，你所看到的不要全信。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079198" src="http://www.funjan.com/content/uploadfile/201610/a5d007acc2d95ac83f68a379d6c663ef20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    塑造自己，过程很疼，但你最终你能收获一个更好的自己。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079199" src="http://www.funjan.com/content/uploadfile/201610/9a18eab4e964a0df757a09a4ea2eb8a120161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    痛苦的时候，正是成长的时候。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079200" src="http://www.funjan.com/content/uploadfile/201610/54a329be58bd5da5cf81d07282119c5020161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    我不太肯定我的方向，但是我希望自己能走的远一点。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079201" src="http://www.funjan.com/content/uploadfile/201610/90e042b6282f4d1039ac0c4eec18812920161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    有的时候，信任，就是这么一回事。
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079202" src="http://www.funjan.com/content/uploadfile/201610/6f05204c6926335f806c6355de78f1ea20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    一生之爱，触动到你了吗？
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <img id="42079203" src="http://www.funjan.com/content/uploadfile/201610/7f897fe9d8f842f28ee00050cf86d06e20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    经常告诉自己，别放弃！
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    <br />
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;text-align:center;">
    <strong style="margin:0px;padding:0px;"><img id="42079204" src="http://www.funjan.com/content/uploadfile/201610/da67f963c3d5711ad2d658fda74c188a20161019020030.jpg" title="看完这个，胜过你读的所有的书" alt="看完这个，胜过你读的所有的书" style="margin:0px;padding:0px;max-width:640px;" /></strong> 
</p>
<p style="margin-top:12px;margin-bottom:12px;padding:0px;font-family:微软雅黑;font-size:16px;line-height:28px;white-space:normal;background-color:#FFFFFF;">
    来源:<a href="http://mp.weixin.qq.com/s?__biz=MjM5MTc1NTgxNA==&amp;mid=2650514904&amp;idx=3&amp;sn=2c9bf2e4a3acd9f13ae4bf50c2c07d60&amp;chksm=bebfbe9189c837874683e0b17da5fae4d334b615a39645db6f9b9b0003eccb36f6abb94a12eb&amp;scene=0#rd" target="_blank" style="margin:0px;padding:0px;color:#0000FF;">&nbsp;智慧人生</a> 
</p>]]></description>
    <pubDate>Wed, 19 Oct 2016 01:58:09 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=133</guid>
</item>
<item>
    <title>Emlog完美转伪靜态</title>
    <link>http://www.funjan.com/?post=132</link>
    <description><![CDATA[<p>网站优化本意是通过修改网站，提高网站用户体验，增加网站用户粘度，最终提升网站排名，但被大多数SEO给误解，误认为改版会增加网站降权K站的风险，所以如果不是不得已的情况下，SEOER都不会随便修改网站代码！ <br /><br />
伪静态已经不是一个新鲜的名词了，尤其是在现今SEO的炒作中。如何实现伪静态这是每个程序员都关心的问题，除非您不搞SEO。大多的伪静态都是以<br />
Htaccess（Apache<br />
mod_rewrite）来实现的，但是一个规划不太好的网站要用Htaccess实现，需要写一大堆的代码，而还有某种原因我们不得不放弃<br />
Htaccess，或是由于服务器不支持，或是个人偏好等等。 <br /><br />
Emlog默认不能生成静态文件，不过好像有生成静态页面的相关插件，该插件先不研究，今天李明给大家分享一下Emlog在各种环境下的伪静态规则，大家都知道，通过伪静态可以让博客文章网址变得对搜索引擎更加友好，据网上的seoer们说，好的伪静态有利于搜索引擎优化，具体有没有博主可自己去探讨。 <br /><br />
注：伪静态必须空间支持且在后台-设置中开启伪静态。 <br /><br />
我的博客曾经改版过多次，网站排名不但没有下降，均有所上升，相反，那些不敢改版的人，排名却没有想象中的稳定。当然，改版也需要根据用户体验进行！ <br /></p>
<p>
    IIS6：（iis6主机请联系主机商修改规则，部分主机支持httpd.ini，请将下列代码保存为httpd.ini上传到博客根目录）
</p>
<pre>[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule /robots.txt(.*) /robots.txt$1 [L]
RewriteRule /rss.php(.*) /rss.php$1 [L]
RewriteRule /tb.php(.*) /tb.php$1 [L]
RewriteRule /favicon.ico /favicon.ico [L]
RewriteRule /xmlrpc.php(.*) /xmlrpc.php$1 [L] 
RewriteRule /wlwmanifest.xml /wlwmanifest.xml [L] 
RewriteRule /(t|m)$ /$1/ [R]
RewriteRule /(admin|content|include|t|m)/(.*) /$1/$2 [L]
RewriteRule /install.php(.*) /install.php$1 [L]
RewriteRule /emlog_toolkit.php(.*) /emlog_toolkit.php$1 [L]
RewriteRule /up(d.d.d)to(d.d.d).php(.*) /up$1to$2.php$3 [L]
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]</pre>
<p>
    支持.htaccess的IIS6服务器规则：
</p>
<pre>RewriteEngine on
RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [L]</pre>
<p><span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;"> </p>
<pre class="sh_php sh_sourceCode"> <span style="color:#333333;font-family:NSimSun;font-size:16px;line-height:1.5;">Emlpg设置伪静态后，访问?post = *** 还是能查看文章，这样就让一个文章出现好多不同</span></pre>
<pre class="sh_php sh_sourceCode"><span style="line-height:1.5;font-family:NSimSun;">的链接，</span><span style="line-height:1.5;font-family:NSimSun;">刚刚折腾好久的代码，所有em用户通用，代码复制粘贴就好了，不需要改。</span></pre>
<p><span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;"><span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">使用以下代码：</span></span></span><br /><br />
<br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">1.非 www 域名跳转</span><br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">网站解析肯定要有一个1级域名&nbsp; <strong><em>.com&nbsp; 但是一般都用&nbsp; www.</em></strong>.com 这样的2级域名，用以下代码可以让访问 ***.com 自动跳转到www开头的（网页参数不变）</span><br /><br />
<br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">注意：跳转的链接是以后台设置的网站首页为准。<br /></p>
<pre class="sh_php sh_sourceCode">

<pre class="prettyprint lang-php linenums">if ('http://' . $_SERVER['HTTP_HOST'] . '/' != BLOG_URL){
        header('HTTP/1.1 301 Moved Permanently');
        header('Location:' . BLOG_URL . trim(Dispatcher::setPath(), '/'));
        exit;
}</pre>
<span style="font-family:NSimSun;line-height:1.5;">代码粘贴到：header.php 里面 如下图：</span></pre>
<p></span><img src="http://www.funjan.com/content/uploadfile/201610/834bd4627aa2ea62aa5b4f028b27ec9420161019033823.jpg" alt="" /><br /><br />
<br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">2.文章页面301跳转：<br /></p>
<pre class="sh_php sh_sourceCode"><span style="font-family:NSimSun;line-height:1.5;"> </span><span style="font-family:NSimSun;line-height:1.5;">$the_url = Url::log($logid);</span><span style="font-family:NSimSun;line-height:1.5;"> 
<pre class="prettyprint lang-php linenums">if (stristr (BLOG_URL . trim(Dispatcher::setPath(), '/'),$the_url) == false){
        header('HTTP/1.1 301 Moved Permanently');
        header('Location:'.$the_url);
        exit;
}</pre>
</span><span style="font-family:NSimSun;line-height:1.5;">代码粘贴到：echo_log.php 里面 如下图：</span></pre>
<p></span><img title="Emlog完美转伪靜态" src="https://www.funjan.com/content/uploadfile/201610/60f10ee2c61e5343289c60767698440920161019033824.jpg" alt="Emlog完美转伪靜态" align="" height="250" width="640" /><br /><br />
<br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">3.自定义页面301跳转：</span><br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">自定义页面301跳转和文章页面301跳转代码一样<br /></p>
<pre>$the_url = Url::log($logid);
if (stristr (BLOG_URL . trim(Dispatcher::setPath(), '/'),$the_url) == false){
        header('HTTP/1.1 301 Moved Permanently');
        header('Location:'.$the_url);
        exit;
}</pre>
<p><span style="font-family:NSimSun;line-height:1.5;">代码粘贴到：page.php 里面 如下图：</span> </span><br /><br />
<img src="https://www.funjan.com/content/uploadfile/201610/2a42ebd94f5438b675171a1a0ca40e8620161019034901.jpg" alt="" /><br /><br />
<br /><br />
<span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">4.分类301跳转，有时候我们设置了分类别名，</span><br /></p>
<pre class="prettyprint lang-js linenums">$the_url = $_SERVER["REQUEST_URI"]; 
$the_url = str_replace("index.php","",$the_url);
$the_url = str_replace("sort","",$the_url);
$the_url = str_replace("/","",$the_url);
//通过URL获取到当前日志ID / 别名，找了半天教程都没有、只能用这种旁门左道
$the_url = Url::sort($the_url);
if ($the_url != BLOG_URL . trim(Dispatcher::setPath(), '/')){
        header('HTTP/1.1 301 Moved Permanently');
        header('Location:'.$the_url);
        exit;
}</pre>
<p><span style="color:#333333;font-family:NSimSun;font-size:16px;line-height:1.5;"><span style="line-height:1.5;"><span style="line-height:1.5;">代码粘贴到：</span></span></span><span style="color:#333333;font-family:NSimSun;font-size:16px;line-height:1.5;"> log_list.php </span><span style="color:#333333;font-family:NSimSun;font-size:16px;line-height:1.5;"><span style="line-height:1.5;"><span style="line-height:1.5;">里面</span></span></span><span style="color:#333333;font-family:NSimSun;font-size:16px;line-height:1.5;"> 即可自动301跳转到别名链接，如图所示：</span> <img title="Emlog完美转伪靜态" src="https://www.funjan.com/content/uploadfile/201610/3e8d9e6b14a1b80c0dc7a5175ef3cd4a20161019034901.jpg" alt="Emlog完美转伪靜态" align="" height="403" width="619" /><br /><br />
<br /></p>
<p>
    <span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">本博客已把动态网址转为伪静态网址了，反正我个人觉得这样有利于seo，小白见解大神勿喷。。。</span> 
</p>
<p>
    <br />
</p>
<p>
    <span style="font-size:16px;font-family:NSimSun;color:#333333;line-height:1.5;">本文地址: <a target="_blank" href="http://likinming.com/post-689.html">http://likinming.com/post-689.html</a> </span> 
</p>]]></description>
    <pubDate>Sun, 17 Jan 2016 16:17:24 +0000</pubDate>
    <dc:creator></dc:creator>
    <guid>http://www.funjan.com/?post=132</guid>
</item>
<item>
    <title>宽带运营商为什么限制家庭网络上行宽带</title>
    <link>http://www.funjan.com/?post=131</link>
    <description><![CDATA[<p>　随着移动互联网的兴起、“云时代”的到来，把文件存储在网盘、把拍好的照片、视频分享到网上，已成为网民越来越普遍的需求。网速快慢，不仅指下载速度，还需要更多需要提高上传速率。<br /><br />
<br /><br />
而恰恰是在上传速率上，中国的宽带运营商显露出了严重的不足——上下行不对称已经形成默认的潜规则，用户的上行带宽远远低于下行带宽。<br /><br />
<br /><br />
ADSL时代，上行下行不对称是技术问题，ADSL（Asymmetric Digital Subscriber Loop）技术是一种不对称数字用户线实现宽带接入互连网的技术，它采用频分复用技术把普通的电话线分成了电话、上行和下行三个相对独立的信道，从而避免了相互之间的干扰，一根线缆内多条电线上的对称信号会显著地限制数据传输速率与线缆的有效通信长度，在大多数情况下，其下行与上行带宽之比可达到10:1的比率。<br /><br />
<br /><br />
到了光纤时代，光纤具有频带宽、容量大、信号质量好、可靠性高等特点，是目前宽带业务发展的方向。是利用两条光纤分别负责上行和下行，不存在ADSL上下行不对称的技术问题，以PON技术为例，下行和上行是频分复用，互不影响，并且因为光纤传输的原理，即使你家离局端20公里，速率也不会有太大变化。<br /><br />
<br /><br />
从拨号上网的ADSL时代发展到光纤，技术上已经解决了宽带网络的上下行速率对等问题。但是，实际上，光纤用户依然被宽带运营商限制了上行带宽，即使是光纤入户的百兆带宽，上传带宽也不足4M。<br /><br />
<br /><br />
<strong><em>宽带</em></strong><br /><br />
<br /><br />
为什么宽带运营商要限制家庭用户的上行宽带，我看主要原因就是为了省钱。网民长期以来的网络使用习惯造成了上行带宽使用少于下行带宽，如果宽带运营商给予上下行相同的速度，会造成资源浪费。而把上行带宽资源销售给机房的企业专线租用客户，则会获得更多的利益。托管在机房的服务器需要大量上行带宽，而并不需要太多下行带宽，而且带宽价格非常昂贵，往往机房10M上行专线租用的费用就是家庭100M费用的5、6倍，因此，把下行带宽出售给家庭用户，上行带宽出售给机房的企业用户，就成为宽带运营商谋取利润的手段。<br /><br />
<br /><br />
因此，如果宽带运营商不限制家庭上行宽带，一大原因是怕用户在家庭光纤里搭建网站影响他们的企业专线租用业务，很多企业可能会使用家庭光纤来搭建网站，而不去机房托管主机，造成宽带运营商的利益损失。所以，宽带运营商不仅仅不会提高家庭上行宽带，还会通过动态IP，限制80端口等方式来禁止家庭光纤用户私自搭建网站。<br /><br />
<br /></p>
<p>
    在早期的互联网环境下，上行下行不对称的确符合用户实际的上网需求，普通人上网大都是下载很多，上传很少，因此不需要太多的上行带宽。然而到了现在的互联网云时代，视频聊天、云存储等应用都需要大量上传带宽，网络使用的多样化必然将导致上行下行的需求同时存在，因此，宽带运营商再限制上行带宽，就已经确实影响到用户的整体网络体验。因此，从互联网行业的长远发展来看，宽带运营商如果不好好面对上行带宽限制的问题，就可以会对整个互联网产品带来限制，不利于互联网产品的高速发展。
</p>
<p>
    <br />
</p>]]></description>
    <pubDate>Thu, 14 May 2015 02:36:52 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=131</guid>
</item>
<item>
    <title>优酷去广告的另类途径！</title>
    <link>http://www.funjan.com/?post=130</link>
    <description><![CDATA[<p>
    不得不说，优酷是一个好网站。但我很久没用优酷了，这几天突然想看看，于是打开优酷，结果60s以上的广告将我打败了。于是在网上搜索找到了一个另类解决方法，应不适用于普通用户我就假单的写个教程：
</p>
<p>
    首先，找台国内vps，编译安装nginx。用他的反向代理和第三方关键字替换模块反向代理v.youku.com,因为优酷是备案了的网站因此不受国内vps白名单限制，可以直接添加绑定。然后在本地电脑设置hosts文件ip指向你的vps即可。以下为本次试验用的nginx配置文件内容：
</p>
<pre class="prettyprint lang-bsh linenums">server{
    listen          80;
    server_name   v.youku.com;
        access_log off;                #off 关闭日志
    location / {
        subs_filter_types text/css text/xml application/xhtml+xml application/xml;
    subs_filter v.youku.com $host;  #后面的是反向的域名，这里就是为了替换原域名
        subs_filter 'static.youku.com/(.*?)/v/swf/(.*?).swf' 'opengg.spring-world.net/flashes/youku/youkuloader_20140603.swf' ir;
        subs_filter 'http://static.youku.com/(.*?)/index/js/qwindow.js' '#' ir;
        subs_filter 'http://static.youku.com/(.*?)/index/js/popup.js' '#' ir;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   Referer http://v.youku.com; #强制定义Referer，程序验证判断会用到
    proxy_set_header   Host v.youku.com;
    proxy_pass         http://v.youku.com; #被代理网站的IP地址
    proxy_set_header   Accept-Encoding "";
        }

    location ^~ /crossdomain.xml {
    subs_filter yk.pp.navi.youku.com $host;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   Host yk.pp.navi.youku.com;
    proxy_pass         http://yk.pp.navi.youku.com; #被代理网站的IP地址
    proxy_set_header   Accept-Encoding "";
        }
}</pre>
<p>
    &nbsp;
</p>]]></description>
    <pubDate>Wed, 11 Jun 2014 07:53:21 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=130</guid>
</item>
<item>
    <title>mysql数据库命令行修复emlog数据库</title>
    <link>http://www.funjan.com/?post=129</link>
    <description><![CDATA[<p>
    很久没有写博文了，打开博客一看出现一串英文，发现数据库连接也没问题。仔细看报错提示某数据表被破坏，最近路由常断电的原因吧！
</p>
<p>
    废话不说说说修复方法：
</p>
<p>
    1.打开putty
</p>
<p>
    2.ssh登录路由
</p>
<p>
    3.输入mysqlcheck -A -o -r -p
</p>
<p>
    4.提示Enter password:
</p>
<p>
    这时输入你的mysql的root密码回车
</p>
<p>
    5.完成
</p>
<p>
    &nbsp;
</p>
<p>
    上面是检查优化并修复所有的数据库的命令，如果指定修复某个数据库用：mysqlcheck -A -o -r&nbsp;数据库名称 -p
</p>
<p>
    &nbsp;
</p>
<p>
    很久没有写文章了，突然发现高版本不支持以上命令了，特补充一个修复命令。
</p>
<p>mysqlcheck -u用户 -p密码 --auto-repair --optimize --all-databases</p>
<p>
    &nbsp;
</p>]]></description>
    <pubDate>Sat, 14 Sep 2013 14:57:59 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=129</guid>
</item>
<item>
    <title>PHP简单登录退出代码</title>
    <link>http://www.funjan.com/?post=128</link>
    <description><![CDATA[<p>登录页面</p>
<p>login.html 负责收集用户填写的登录信息。<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;fieldset&gt;<br />
&lt;legend&gt;用户登录&lt;/legend&gt;<br />
&lt;form name="LoginForm" method="post" action="login.php" onSubmit="return InputCheck(this)"&gt;<br />
&lt;p&gt;<br />
&lt;label for="username" class="label"&gt;用户名:&lt;/label&gt;<br />
&lt;input id="username" name="username" type="text" class="input" /&gt;<br />
&lt;p/&gt;<br />
&lt;p&gt;<br />
&lt;label for="password" class="label"&gt;密 码:&lt;/label&gt;<br />
&lt;input id="password" name="password" type="password" class="input" /&gt;<br />
&lt;p/&gt;<br />
&lt;p&gt;<br />
&lt;input type="submit" name="submit" value="&nbsp; 确 定&nbsp; " class="left" /&gt;<br />
&lt;/p&gt;<br />
&lt;/form&gt;<br />
&lt;/fieldset&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>&nbsp;</p>
<p>登录处理login.php 负责处理用户登录与退出动作。 //登录</p>
<p>&lt;?PHP<br />
if(!isset($_POST['submit'])){<br />
&nbsp;&nbsp;&nbsp; exit('非法访问!');<br />
}<br />
$username = htmlspecialchars($_POST['username']);<br />
$password = MD5($_POST['password']);</p>
<p>//包含数据库连接文件<br />
include('conn.php');<br />
//检测用户名及密码是否正确<br />
$check_query = mysql_query("select uid from user where username='$username' and password='$password' limit 1");<br />
if($result = mysql_fetch_array($check_query)){<br />
&nbsp;&nbsp;&nbsp; //登录成功<br />
&nbsp;&nbsp;&nbsp; $_SESSION['username'] = $username;<br />
&nbsp;&nbsp;&nbsp; $_SESSION['userid'] = $result['uid'];<br />
&nbsp;&nbsp;&nbsp; echo $username,' 欢迎你！进入 &lt;a href="my.php"&gt;用户中心&lt;/a&gt;&lt;br /&gt;';<br />
&nbsp;&nbsp;&nbsp; echo '点击此处 &lt;a href="login.php?action=logout"&gt;注销&lt;/a&gt; 登录！&lt;br /&gt;';<br />
&nbsp;&nbsp;&nbsp; exit;<br />
} else {<br />
&nbsp;&nbsp;&nbsp; exit('登录失败！点击此处 &lt;a href="javascript:history.back(-1);"&gt;返回&lt;/a&gt; 重试');<br />
}<br />
&nbsp;退出处理处理用户退出的代码跟处理登录的代码都在 login.php 里。 </p>
<p>session_start();</p>
<p>//注销登录<br />
if($_GET['action'] == "logout"){<br />
&nbsp;&nbsp;&nbsp; unset($_SESSION['userid']);<br />
&nbsp;&nbsp;&nbsp; unset($_SESSION['username']);<br />
&nbsp;&nbsp;&nbsp; echo '注销登录成功！点击此处 &lt;a href="login.html"&gt;登录&lt;/a&gt;';<br />
&nbsp;&nbsp;&nbsp; exit;<br />
}<br />
?&gt;</p>
<p><br />
&nbsp;用户中心my.php 是用户中心，列在教程里作为用户登录检测参考。 </p>
<p>&lt;?php<br />
session_start();</p>
<p>//检测是否登录，若没登录则转向登录界面<br />
if(!isset($_SESSION['userid'])){<br />
&nbsp;&nbsp;&nbsp; header("Location:login.html");<br />
&nbsp;&nbsp;&nbsp; exit();<br />
}<br />
//包含数据库连接文件<br />
include('conn.php');<br />
$userid = $_SESSION['userid'];<br />
$username = $_SESSION['username'];<br />
$user_query = mysql_query("select * from user where uid=$userid limit 1");<br />
$row = mysql_fetch_array($user_query);<br />
echo '用户信息：&lt;br /&gt;';<br />
echo '用户ID：',$userid,'&lt;br /&gt;';<br />
echo '用户名：',$username,'&lt;br /&gt;';<br />
echo '邮箱：',$row['email'],'&lt;br /&gt;';<br />
echo '注册日期：',date("Y-m-d", $row['regdate']),'&lt;br /&gt;';<br />
echo '&lt;a href="login.php?action=logout"&gt;注销&lt;/a&gt; 登录&lt;br /&gt;';<br />
?&gt;</p>
<p>&nbsp;</p>]]></description>
    <pubDate>Thu, 14 Mar 2013 11:55:48 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=128</guid>
</item>
<item>
    <title>谷歌关闭RSS谷歌阅读Google Reader</title>
    <link>http://www.funjan.com/?post=127</link>
    <description><![CDATA[<p>　　Google Reader起始于2005年，通过RSS订阅的方式，帮助人们订阅喜爱的网站和博客。</p>
<p>　　谷歌在其官方博客宣布，其阅读器服务Google Reader将在今年7月1号关闭，用户和开发者可以导出其中RSS数据，并使用其他的RSS订阅软件代替。</p>
<p>　　谷歌在其官方博客称，关闭Google Reader有两个主要的原因：Google Reader的使用率持续下降。作为一家公司，Google正在把全部精力集中在少数产品上，这样才可以打造更好的用户体验。</p>
<p>　　谷歌还表示，为了确保平稳转换，Google将提供为期三个月的最后使用期限，以确保用户有充足的时间寻找feed类阅读的替代产品。如果用户希望保留Google Reader上的订阅数据，可以通过Google Takeout进行备份。</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 不过，中国用户使用Google Takeout下载Google Reader数据需要开一下代理或VPN，否则无法连接！</p>
<p>　　Google的这个决定，对于使用了Google Reader很久的用户来说，难以接受，当年Google Reader通过免费而稳定的服务，击败了几乎所有同类收费和免费的RSS阅读器，目前RSS阅读服务能堪比Google Reader的屈指可数，更何况，Google Reader除了RSS阅读功能外，还可以让中国用户能方便的阅读墙外的新闻，对于中国用户来说意义重大，这样的服务一关闭，还真难以用国内的同类服务来替代。</p>
<p>　　此外，Google Reader的关闭还将冲击第三方应用，对大量依赖于Google Reader服务的第三方应用带来严重影响。这些第三方应用包括FeedDemon、NetNewsWire、Reeder、Pulp等。</p>
<p>　　清理产品虽然必要，但也要有个尺度，一些重要的产品不能随便清理，现在，连Google Reader这样的服务都说关就关，Google的确变了，现在的Google已经不是以前的那个Google了。</p>]]></description>
    <pubDate>Wed, 13 Mar 2013 03:03:07 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=127</guid>
</item>
<item>
    <title>cdnzzz免费香港cdn使用的一点心得附邀请码</title>
    <link>http://www.funjan.com/?post=2</link>
    <description><![CDATA[<p>CDNZZ是一家新兴的云服务CDN加速提供商。目前提供的加速节点有香港和美国。因为有香港的加速节点，所以使用此CDN加速服务，国内访问速度还是不错的。由于目前处于测试期，需要邀请码开通，邀请码可以通过联系客服务或从搜索引擎搜索获得，注册后会得到1G的免费月流量，通过邀请好友最多可以增加到10G。现在的情况是一个要求码被使用获得100-200m的流量，总共可以获得最高10G的流量。每月默认含1g免费流量。<br />
使用方法：</p>
<p>申请网址：<a href="http://www.cdnzz.com" target="_blank">http://www.cdnzz.com</a> 注册成功后需要邮件验证验证成功后我们便能添加域名了，方法如下<br />
1、点击网页顶部导航‘<span style="color: red;">网站’</span>添加域名，域名添加后，要求下载一个html文件放到网站的根目录进行域名所有权验证。当然也可以通过增加域名txt记录来验证，域名所有权验证过后才能进行下一步操作。</p>
<p>2、填写域名及解析IP，<strong><span style="color: red;">主機名</span></strong>：你需要加速的二级域名；<span style="color: red;">網站的源IP</span>: 你的网站的服务器IP地址；<span style="color: red;">CNAME</span>:这个是系统自动生成的，设置DNS的时候需要用到。</p>
<p>3、在域名后台添加上一步系统生成的CNAME，保存即可。<br />
不过由于采用<span style="color: darkred;">Anycast 路由技術</span>我们并不能ping到香港ip，因此是否提供了香港线路还有待观察。以下附上一些邀请码：                                   416696623188                                   416668567972                                   416673275162                                   416653572927                                   416624493418                                   416671205964                                   416643319067                                   416625888594                                   416674356610                                   416670341580</p>]]></description>
    <pubDate>Sat, 25 Aug 2012 13:19:56 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=2</guid>
</item>
<item>
    <title>wamp提速之windows+apache环境下安装ioncube</title>
    <link>http://www.funjan.com/?post=3</link>
    <description><![CDATA[<p>与xcache类似的，ioncube是为数不多能够在windows+apache环境使用的php优化工具之一。其作用与大名鼎鼎的Zend Optimizer大抵相似，但是如之前WAMP安装后对php提速优化一文中介绍到的，Zend Optimizer只支持到php5.2.x，而新的Zend Guard Loader虽然支持php5.3.x，但是只能在windows+IIS中使用。</p>
<p>&nbsp;</p>
<p>ioncube的优化效果相当好，如果是在windows+apache中使用的是php5.3版本的话，Robin极力推荐安装此插件。安装方法如下:</p>
<p>1. 下载ioncube_loaders_win_vc9_x86.zip （百度最新）</p>
<p>&nbsp;</p>
<p>2. 将压缩包内的ioncube_loader_win_5.3.dll拷贝至wamp\bin\php\php5.3.8\zend_ext目录下</p>
<p>3. 在wamp\bin\apache\Apache2.2.21\bin\php.ini中添加<br />
zend_extension = “d:/dev/wamp/bin/php/php5.3.8/zend_ext/ioncube_loader_win_5.3.dll”<br />
注意: 如果使用xdebug的话，ioncube_loader.dll的zend_extension声明要放在xdebug的zend_extension之前</p>
<p>&nbsp;</p>
<p>4. 重启wamp服务</p>
<p>5. 将压缩包内的loader-wizard.php拷贝至wamp\www目录下<br />
在浏览器中键入http://yourdomain/loader-wizard.php，cache会自动安装，安装完成后给出成功信息:</p>
<p>Loader Installed<br />
The ionCube Loader version 4.0.11 for PHP 5.3 is already installed and encoded files should run without problems.</p>]]></description>
    <pubDate>Sun, 05 Aug 2012 02:19:48 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=3</guid>
</item>
<item>
    <title>在windows+apache环境下安装XCache</title>
    <link>http://www.funjan.com/?post=4</link>
    <description><![CDATA[<p>XCache是一款提速php执行效率的工具，只要是通过对php编译空间开启一定的缓存来实现提速。</p>
<p>windows+apache环境下能实现此功能的工具不多，XCache是其中比较好的一款，推荐使用。</p>
<p>安装方法:</p>
<p>1. 下载<a title="xcache" href="http://dl.dbank.com/c0kyv9bb2r" target="_blank">XCache-1.3.2-php-5.3.6-Win32-VC9-x86.zip</a> (百度最新版本)</p>
<p>2. 将压缩包内的php_xcache.dll放至wamp\bin\php\php5.3.8\ext目录下</p>
<p>3. wamp\bin\apache\Apache2.2.21\bin\php.ini文件的末尾添加:</p>
<pre class="brush:text;gutter:false;toolbar:false;">[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
;zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
;; For windows users, replace xcache.so with php_xcache.dll
;zend_extension_ts = c:/php/extensions/php_xcache.dll
;; or install as extension, make sure your extension_dir setting is correct
; extension = xcache.so
;; or win32:
extension = php_xcache.dll

[xcache.admin]
xcache.admin.enable_auth = Off
xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
xcache.admin.pass = ""

[xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme =        "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size &gt; 0) and your system mmap allows
xcache.size  =               64M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =                 1
; just a hash hints, you can always store count(items) &gt; slots
xcache.slots =                8K
; ttl of the cache item, 0=forever
xcache.ttl   =                 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =           0

; same as aboves but for variable cache
xcache.var_size  =            4M
xcache.var_count =             1
xcache.var_slots =            8K
; default ttl
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300

xcache.test =                Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path =    "/dev/zero"

; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory =   ""

; per request settings
xcache.cacher =               On
xcache.stat   =               On
xcache.optimizer =           Off

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager =          Off

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""</pre>
<p>4. 重启wamp服务，在phpinfo也中可见xcache配置信息即安装成功</p>
<p>注：本文提到的版本、程序目录路径请按实际情况处理。</p>]]></description>
    <pubDate>Sun, 05 Aug 2012 02:08:48 +0000</pubDate>
    <dc:creator>星光博客</dc:creator>
    <guid>http://www.funjan.com/?post=4</guid>
</item>
</channel>
</rss>