<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.movoin.com/styles/feedsky8.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.movoin.com" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/movoin" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 01 Sep 2010 03:34:49 GMT</lastBuildDate><title>Movoin Studio</title><description>专注于PHP技术,PYTHON技术,WEB开发设计,程序设计</description><image><url>http://www.feedsky.com/feed/movoin/sc/gif</url><title>Movoin Studio</title><link>http://www.movoin.com</link></image><link>http://www.movoin.com</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Wed, 01 Sep 2010 03:34:49 GMT</pubDate><item><title>常用于后台开发的jQuery插件</title><link>http://item.feedsky.com/~feedsky/movoin/~7583469/408216512/1236733/1/item.html</link><content:encoded>&lt;p&gt;以前有过一篇类似的文章, 讲的比较简单只有三个插件而已, 所以这篇文章将全持续更新.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;jQuery UI&lt;/strong&gt;  大名顶顶, 不用介绍, 它的各个控件可是非常好用的说.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;jQuery.Layout&lt;/strong&gt; 这是我在今年&lt;abbr title=&quot;2010年3月14日&quot;&gt;3月份&lt;/abbr&gt;才发现的一个插件, 作用有点类似ExtJS的布局, 但却简单许多, 因为简单所以好用,呵呵. 使用这个插件的时候, 如果你和我一样懒, 只是使用了Iframe的方式, 那么你很可能也和我一样会遇到 &lt;a href=&quot;http://www.movoin.com/fix-ie6-iframe-horizontal-scroll-bar.html&quot;&gt;IE6 下 Iframe 出现横向滚动条&lt;/a&gt; 的情况, 放轻松, 我已经找到解决办法了.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;jQuery.PrettyDate&lt;/strong&gt; 这个插件我很喜欢, 是在&lt;abbr title=&quot;2010年8月15日&quot;&gt;上个月&lt;/abbr&gt;入手的, 它可以把 &amp;#8220;August 13th, 2010&amp;#8243; 这样的日期, 显示为 &amp;#8220;3 星期以前&amp;#8221;, 当然默认是英文的, 所以你得自己去改一下插件中的内容, 我是直接改的, 你如果不觉得麻烦你也可以构造它的时候, 把这些写到Config里面, 呵呵.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;jQuery.TreeView&lt;/strong&gt; 这是我用着比较舒服的一个树状插件. 支持拖拽哦, 当然你得使用 jQuery UI 才行的.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;jQuery.Grid&lt;/strong&gt; 非常强大的 Grid 插件, 比上次介绍的还要强, 甚至于已经接近 ExtJS.Grids 了.&lt;/p&gt;
&lt;h3  class=&quot;related_post_title&quot;&gt;既然来了，也许你也会想看一下：&lt;/h3&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2010/08/19 -- &lt;a href=&quot;http://www.movoin.com/fix-ie6-iframe-horizontal-scroll-bar.html&quot; title=&quot;IE6中Iframe产生横向滚动条的解决办法&quot;&gt;IE6中Iframe产生横向滚动条的解决办法&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/408216512/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/408216512/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/408216512/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/408216512/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.movoin.com/my-jquery-plugins-toolbox.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>以前有过一篇类似的文章, 讲的比较简单只有三个插件而已, 所以这篇文章将全持续更新. jQuery UI 大名顶顶, 不用介绍, 它的各个控件可是非常好用的说. jQuery.Layout 这是我在今年3月份才发现的一个插件, 作用有点类似ExtJS的布局, 但却简单许多, 因为简单所以好用,呵呵. 使用这个插件的时候, 如果你和我一样懒, 只是使用了Iframe的方式, 那么你很可能也和我一样会遇到 IE6 下 Iframe 出现横向滚动条 的情况, 放轻松, 我已经找到解决办法了. jQuery.PrettyDate 这个插件我很喜欢, 是在上个月入手的, 它可以把 &amp;#8220;August 13th, 2010&amp;#8243; 这样的日期, 显示为 &amp;#8220;3 星期以前&amp;#8221;, 当然默认是英文的, 所以你得自己去改一下插件中的内容, 我是直接改的, 你如果不觉得麻烦你也可以构造它的时候, 把这些写到Config里面, 呵呵. jQuery.TreeView 这是我用着比较舒服的一个树状插件. 支持拖拽哦, 当然你得使用 jQuery UI 才行的. jQuery.Grid 非常强大的 Grid 插件, 比上次介绍的还要强, 甚至于已经接近 ExtJS.Grids [...]&lt;img src=&quot;http://www1.feedsky.com/t1/408216512/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/408216512/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/408216512/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/408216512/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>jQuery</category><category>前端开发</category><category>插件</category><pubDate>Wed, 01 Sep 2010 11:34:49 +0800</pubDate><author>Allen</author><comments>http://www.movoin.com/my-jquery-plugins-toolbox.html#comments</comments><guid isPermaLink="false">http://www.movoin.com/?p=41</guid><dc:creator>Allen</dc:creator><fs:srclink>http://www.movoin.com/my-jquery-plugins-toolbox.html</fs:srclink><fs:srcfeed>http://movoin.com/feed</fs:srcfeed><fs:itemid>feedsky/movoin/~7583469/408216512/1236733</fs:itemid></item><item><title>在Ubuntu中使用YUICompressor</title><link>http://item.feedsky.com/~feedsky/movoin/~7583469/406666545/1236733/1/item.html</link><content:encoded>&lt;p&gt;&lt;a href=&quot;http://developer.yahoo.com/yui/compressor/&quot; rel=&quot;nofollow&quot;&gt;YUICompressor&lt;/a&gt;，是由Yahoo!提供的压缩（Minify）Javascript，CSS的工具。&lt;/p&gt;
&lt;p&gt;YUICompressor是用Java写的，所以使用它之前必须先安装Jre:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;sudo apt-get install sun-java6-jre&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;然后，下载YUICompressor-2.4.2.zip，并解压至任意位置。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;参数说明&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Usage: java -jar yuicompressor-x.y.z.jar [options] [input file]&lt;/p&gt;
&lt;p&gt;Global Options&lt;br /&gt;
  -h, &amp;#8211;help                Displays this information&lt;br /&gt;
  &amp;#8211;type &lt;js|css&gt;           Specifies the type of the input file&lt;br /&gt;
  &amp;#8211;charset &lt;charset&gt;       Read the input file using &lt;charset&gt;&lt;br /&gt;
  &amp;#8211;line-break&lt;br /&gt;
&lt;column&gt;     Insert a line break after the specified column number&lt;br /&gt;
  -v, &amp;#8211;verbose             Display informational messages and warnings&lt;br /&gt;
  -o &lt;file&gt;                 Place the output into &lt;file&gt;. Defaults to stdout.&lt;/p&gt;
&lt;p&gt;JavaScript Options&lt;br /&gt;
  &amp;#8211;nomunge                 Minify only, do not obfuscate&lt;br /&gt;
  &amp;#8211;preserve-semi           Preserve all semicolons&lt;br /&gt;
  &amp;#8211;disable-optimizations   Disable all micro optimizations &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;提示：&lt;/strong&gt;&lt;br /&gt;
其实不用输入&amp;#8211;type js 或 &amp;#8211;type css, YUICompressor也会根据文件后缀名来自动判断。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;以下是我写的一段脚本：&lt;/strong&gt;&lt;/p&gt;
&lt;pre name=&quot;code&quot; class=&quot;sh_python&quot; linenum=&quot;off&quot;&gt;
#!/usr/bin/python

import os
import sys

compressor_path = '/home/allen/.tools/yuicompressor.jar'
charset_code = 'utf-8'

def compressor(file):
    os.path.splitext(file)
    return '-min'.join([os.path.splitext(file)[0], os.path.splitext(file)[1]])

files = sys.argv[1:]

for file in files:
    os.system('java -jar %s %s -o %s --charset %s --preserve-semi' % (compressor_path, file, compressor(file), charset_code))
&lt;/pre&gt;
&lt;p&gt;把脚本以任意名字保存，如“压缩JS文件”，并将文件放到你的用户目录下的.gnome2/nautilus-scripts/目录中，如：/home/allen/.gnome2/nautilus-scripts/&lt;/p&gt;
&lt;p&gt;这样你就可以更加方便的使用YUICompressor了~&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_python.js&quot;&gt;&lt;/script&gt;&lt;h3  class=&quot;related_post_title&quot;&gt;既然来了，也许你也会想看一下：&lt;/h3&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2010/08/19 -- &lt;a href=&quot;http://www.movoin.com/ubuntu-11-04-animal-code.html&quot; title=&quot;Ubuntu 11.04 动物代号&quot;&gt;Ubuntu 11.04 动物代号&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/406666545/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666545/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666545/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666545/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.movoin.com/using-yuicompressor-in-ubuntu.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>YUICompressor，是由Yahoo!提供的压缩（Minify）Javascript，CSS的工具。 YUICompressor是用Java写的，所以使用它之前必须先安装Jre: sudo apt-get install sun-java6-jre 然后，下载YUICompressor-2.4.2.zip，并解压至任意位置。 参数说明 Usage: java -jar yuicompressor-x.y.z.jar [options] [input file] Global Options -h, &amp;#8211;help Displays this information &amp;#8211;type Specifies the type of the input file &amp;#8211;charset Read the input file using &amp;#8211;line-break Insert a line break after the specified column number -v, &amp;#8211;verbose Display informational messages and warnings -o Place [...]&lt;img src=&quot;http://www1.feedsky.com/t1/406666545/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666545/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666545/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666545/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Ubuntu</category><category>Linux</category><category>操作系统</category><pubDate>Wed, 25 Aug 2010 10:47:02 +0800</pubDate><author>Allen</author><comments>http://www.movoin.com/using-yuicompressor-in-ubuntu.html#comments</comments><guid isPermaLink="false">http://movoin.com/?p=24</guid><dc:creator>Allen</dc:creator><fs:srclink>http://www.movoin.com/using-yuicompressor-in-ubuntu.html</fs:srclink><fs:srcfeed>http://movoin.com/feed</fs:srcfeed><fs:itemid>feedsky/movoin/~7583469/406666545/1236733</fs:itemid></item><item><title>我在读什么@GoogleReader [2010-08-24]</title><link>http://www.google.com/reader/shared/02081063612944962302#2010-08-24</link><guid>http://www.google.com/reader/shared/02081063612944962302#2010-08-24</guid><pubDate>Tue, 24 Aug 2010 00:00:00 +0800</pubDate><description>&lt;ul&gt;&lt;li&gt;&lt;a href='http://linuxtoy.org/archives/the-command-you-might-know.html' title='link to ..'&gt;估计你知道的命令&lt;/a&gt;&lt;br/&gt;&lt;div&gt;如果你刚刚接触 Linux 的话，或许你知道这些命令。如果你不知道的话……

NetworkManager 命令行版: nmcli

举例：

查看当前区域内的无线网络: nmcli dev wifi

启动网络名为 Fedora 的链接：nmcli con up id Fedora

PackageKit 命令行版: pkcon

举例：

查询软件..&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description><fs:burntype>mark day</fs:burntype><fs:srclink>http://linuxtoy.org/archives/the-command-you-might-know.html</fs:srclink><fs:srcfeed>http://www.google.com/reader/public/atom/user/02081063612944962302/state/com.google/broadcast</fs:srcfeed><fs:itemid>feedsky/movoin/~7353715/406445709/1236733</fs:itemid></item><item><title>我在读什么@GoogleReader [2010-08-21]</title><link>http://www.google.com/reader/shared/02081063612944962302#2010-08-21</link><guid>http://www.google.com/reader/shared/02081063612944962302#2010-08-21</guid><pubDate>Sat, 21 Aug 2010 00:00:00 +0800</pubDate><description>&lt;ul&gt;&lt;li&gt;&lt;a href='http://article.yeeyan.org/view/166771/126320' title='link to ..'&gt;30种免费的高质量字体-Smashing Magazine&lt;/a&gt;&lt;br/&gt;&lt;div&gt;原作者：来源30 New Free High-Quality Fonts - Smashing Magazine译者海浪~~  30种高品质创意字体 By Vitaly Friedman August 12th, 2010 Fonts 70 Comments Publishing Policy              我们每时每刻都在环顾四周，寻找富有创意的高品质字体，并把它们..&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href='http://article.yeeyan.org/view/167488/128198' title='link to ..'&gt;12款酷酷的冰箱&lt;/a&gt;&lt;br/&gt;&lt;div&gt;原作者：来源12 Cool and Unusual Refrigerators译者苍天问仙踪The most unique and innovative refrigerator designs from all over the world.  世界上那些最有创意的冰箱 Transparent Refrigerator 透明冰箱 Unique fridge from Japan allows you to see what is s..&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description><fs:burntype>mark day</fs:burntype><fs:srclink>http://article.yeeyan.org/view/166771/126320</fs:srclink><fs:srcfeed>http://www.google.com/reader/public/atom/user/02081063612944962302/state/com.google/broadcast</fs:srcfeed><fs:itemid>feedsky/movoin/~7353715/405491043/1236733</fs:itemid></item><item><title>CKEditor + CKFinder 整合笔记</title><link>http://item.feedsky.com/~feedsky/movoin/~7583469/406666552/1236733/1/item.html</link><content:encoded>&lt;p&gt;FckEdiror是我用的最多的内容编辑器，记得以前和同事谈论FCK的时候，我老是将它说成KFC编辑器，还好没有说成是FUCK编辑器，字母顺序错了可比加一个字母好听多了，呵呵。&lt;/p&gt;
&lt;p&gt;新系统不想再用Fck，因为经过对比我发现，CK确实比FCK要快上许多，而且网上也有人说它对长内容的编辑能力也不是FCK能比的。&lt;/p&gt;
&lt;p&gt;从ckeditor.com下载最新的CKEditor（PHP版）及CKFinder（PHP版）， 我是把它们都放在同一级目录下。&lt;/p&gt;
&lt;p&gt;CK的设置和FCK相差无几，只是CKFinder有点怪异。&lt;/p&gt;
&lt;h3&gt;CKFinder设置时需要注意的两点：&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;1，提示： 因为安全原因，文件不可浏览. 请联系系统管理员并检查CKFinder配置文件。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;在CKFinder根目录下的config.php中，你所看到的第一个函数，这个函数很神奇，是的，它一开始只是返回false而已，你可以根据你的环境来设置它的返回值，它的注释也写得很清楚了，我就不废话了，多动手比什么都强。&lt;br /&gt;
Tips： 如果只是想测试一下，请直接return true;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2, 中文文件上传文件名出现乱码。&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;哎，不知道到了PHP6后支持Unicode会不会对中文支持的好一点。。。&lt;/p&gt;
&lt;p&gt;和修改FCK差不多，直接增加重命名代码即可。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;文件位置：&lt;/strong&gt; ckfinder\core\connector\php\php5\CommandHandler\FileUpload.php&lt;/p&gt;
&lt;pre name=&quot;code&quot; class=&quot;sh_php&quot; linenum=&quot;off&quot;&gt;
/** 找到下面这几行，大约在59-61行左右： */
if ($sFileName != $sUnsafeFileName) {
    $iErrorNumber = CKFINDER_CONNECTOR_ERROR_UPLOADED_INVALID_NAME_RENAMED;
}
/** 重命名文件, 以防止中文文件名上传乱码 */
$sExtension=CKFinder_Connector_Utils_FileSystem::getExtension($sFileName);
$sFileName = uniqid() . '.' . $sExtension; // 关于 uniqid() 请参考 http://cn.php.net/manual/en/function.uniqid.php
&lt;/pre&gt;
&lt;p&gt;相关链接：&lt;/p&gt;
&lt;p&gt;CKEditor配置说明： &lt;a href=&quot;http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html&lt;/a&gt;&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_php.js&quot;&gt;&lt;/script&gt;&lt;h3  class=&quot;related_post_title&quot;&gt;既然来了，也许你也会想看一下：&lt;/h3&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;看来这是个孤独的家伙！&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/406666552/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666552/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666552/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666552/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.movoin.com/ckeditor-and-ckfinder-tips.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>FckEdiror是我用的最多的内容编辑器，记得以前和同事谈论FCK的时候，我老是将它说成KFC编辑器，还好没有说成是FUCK编辑器，字母顺序错了可比加一个字母好听多了，呵呵。 新系统不想再用Fck，因为经过对比我发现，CK确实比FCK要快上许多，而且网上也有人说它对长内容的编辑能力也不是FCK能比的。 从ckeditor.com下载最新的CKEditor（PHP版）及CKFinder（PHP版）， 我是把它们都放在同一级目录下。 CK的设置和FCK相差无几，只是CKFinder有点怪异。 CKFinder设置时需要注意的两点： 1，提示： 因为安全原因，文件不可浏览. 请联系系统管理员并检查CKFinder配置文件。 在CKFinder根目录下的config.php中，你所看到的第一个函数，这个函数很神奇，是的，它一开始只是返回false而已，你可以根据你的环境来设置它的返回值，它的注释也写得很清楚了，我就不废话了，多动手比什么都强。 Tips： 如果只是想测试一下，请直接return true; 2, 中文文件上传文件名出现乱码。 哎，不知道到了PHP6后支持Unicode会不会对中文支持的好一点。。。 和修改FCK差不多，直接增加重命名代码即可。 文件位置： ckfinder\core\connector\php\php5\CommandHandler\FileUpload.php /** 找到下面这几行，大约在59-61行左右： */ if ($sFileName != $sUnsafeFileName) { $iErrorNumber = CKFINDER_CONNECTOR_ERROR_UPLOADED_INVALID_NAME_RENAMED; } /** 重命名文件, 以防止中文文件名上传乱码 */ $sExtension=CKFinder_Connector_Utils_FileSystem::getExtension($sFileName); $sFileName = uniqid() . '.' . $sExtension; // 关于 uniqid() 请参考 http://cn.php.net/manual/en/function.uniqid.php 相关链接： CKEditor配置说明： http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html 既然来了，也许你也会想看一下：看来这是个孤独的家伙！&lt;img src=&quot;http://www1.feedsky.com/t1/406666552/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666552/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666552/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666552/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>PHP</category><category>CKFinder</category><category>技巧整理</category><category>CKEdirot</category><pubDate>Fri, 20 Aug 2010 15:54:54 +0800</pubDate><author>Allen</author><comments>http://www.movoin.com/ckeditor-and-ckfinder-tips.html#comments</comments><guid isPermaLink="false">http://movoin.com/?p=22</guid><dc:creator>Allen</dc:creator><fs:srclink>http://www.movoin.com/ckeditor-and-ckfinder-tips.html</fs:srclink><fs:srcfeed>http://movoin.com/feed</fs:srcfeed><fs:itemid>feedsky/movoin/~7583469/406666552/1236733</fs:itemid></item><item><title>Ubuntu 11.04 动物代号</title><link>http://item.feedsky.com/~feedsky/movoin/~7583469/406666556/1236733/1/item.html</link><content:encoded>&lt;p&gt;Ubuntu 11.04的动物代号将是：Natty Narwhal（聪慧的独角鲸）。&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://lh5.ggpht.com/_1QSDkzYY2vc/TGrjTrJsDZI/AAAAAAAABtI/7Q48Tb3vO24/s400/narwhal2.jpg&quot; alt=&quot;独角鲸&quot; /&gt;&lt;/p&gt;
&lt;p&gt;维基百科对Natty的解释是(informal) Smart and fashionable，也就是兼具头脑和外表。&lt;/p&gt;
&lt;p&gt;独角鲸是生活在北极冰冷海域的小型鲸鱼，因为头部前段3米左右的螺旋形犄角状物而得名，长久以来被认为是传说中的独角兽的化身。然而传说终归是传说，独角鲸的“犄角”并非是角，只是一颗外露的长牙，披有神话色彩外衣的东西往往在现实中是不复存在的。独角鲸的“独角”没有纯洁净化的魔力，也无法使它们永生不死。但不可否认的是，它们成为了这世上绝无仅有，这般独特而美丽的生物。（摘自互动百科）&lt;/p&gt;
&lt;p&gt;来源: http://article.yeeyan.org/view/140496/127197&lt;/p&gt;
&lt;h3  class=&quot;related_post_title&quot;&gt;既然来了，也许你也会想看一下：&lt;/h3&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2010/08/25 -- &lt;a href=&quot;http://www.movoin.com/using-yuicompressor-in-ubuntu.html&quot; title=&quot;在Ubuntu中使用YUICompressor&quot;&gt;在Ubuntu中使用YUICompressor&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/406666556/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666556/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666556/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666556/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.movoin.com/ubuntu-11-04-animal-code.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>Ubuntu 11.04的动物代号将是：Natty Narwhal（聪慧的独角鲸）。 维基百科对Natty的解释是(informal) Smart and fashionable，也就是兼具头脑和外表。 独角鲸是生活在北极冰冷海域的小型鲸鱼，因为头部前段3米左右的螺旋形犄角状物而得名，长久以来被认为是传说中的独角兽的化身。然而传说终归是传说，独角鲸的“犄角”并非是角，只是一颗外露的长牙，披有神话色彩外衣的东西往往在现实中是不复存在的。独角鲸的“独角”没有纯洁净化的魔力，也无法使它们永生不死。但不可否认的是，它们成为了这世上绝无仅有，这般独特而美丽的生物。（摘自互动百科） 来源: http://article.yeeyan.org/view/140496/127197 既然来了，也许你也会想看一下：2010/08/25 -- 在Ubuntu中使用YUICompressor&lt;img src=&quot;http://www1.feedsky.com/t1/406666556/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666556/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666556/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666556/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>Ubuntu</category><category>Linux</category><category>操作系统</category><pubDate>Thu, 19 Aug 2010 16:00:09 +0800</pubDate><author>Allen</author><comments>http://www.movoin.com/ubuntu-11-04-animal-code.html#comments</comments><guid isPermaLink="false">http://movoin.com/?p=17</guid><dc:creator>Allen</dc:creator><fs:srclink>http://www.movoin.com/ubuntu-11-04-animal-code.html</fs:srclink><fs:srcfeed>http://movoin.com/feed</fs:srcfeed><fs:itemid>feedsky/movoin/~7583469/406666556/1236733</fs:itemid></item><item><title>IE6中Iframe产生横向滚动条的解决办法</title><link>http://item.feedsky.com/~feedsky/movoin/~7583469/406666557/1236733/1/item.html</link><content:encoded>&lt;p&gt;上帝才知道为什么IE6在国内还是那么强的生命力，甚至还有其“粉丝团”~~~哎，抱怨完毕。&lt;/p&gt;
&lt;p&gt;最近在开发公司的新产品，在后台使用了大量的JQuery(jquery.layout, jquery.grid, jquery.ui等)，而今天要讲的问题就是在使用jquery.layout时遇到的，虽然使用了大量jquery插件，可是我并不想使用Ajax，因为目前产品还没有定型，只是在搭架子的时期，这时候应该是讲求快速实现及快速修改，所以并不打算在这个阶段使用Ajax。出于以上考虑，我选择了iframe，在FF中着实在让我小兴奋了一下，很精制的效果，配合jquery.ui使整个感觉很顺畅，完全达到我的预期。可是一到IE下，我就傻眼了，界面是常有的错位我就不提了，逐一修复后，发现出现了横向滚动条。&lt;/p&gt;
&lt;p&gt;汗~~~根本不明白它是怎么来的。于是到网上查了一下，大致的原因是iframe中的页面有相对body的样式包含width:100%的元素。&lt;/p&gt;
&lt;p&gt;同时也找到了解决的办法，第一和第二条比较常见（CSS解决：overflow-x: hidden;），也是我一开始想到的，而第三条是我使用的方法，在这里分享出来。&lt;/p&gt;
&lt;pre name=&quot;code&quot; class=&quot;sh_javascript&quot; linenum=&quot;off&quot;&gt;
$(function(){
    if($.browser.msie&amp;#038;&amp;#038;$.browser.version==&quot;6.0&quot;&amp;#038;&amp;#038;$(&quot;html&quot;)[0].scrollHeight&gt;$(&quot;html&quot;).height())
        $(&quot;html&quot;).css(&quot;overflowY&quot;,&quot;scroll&quot;);
});
&lt;/pre&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_javascript.js&quot;&gt;&lt;/script&gt;&lt;h3  class=&quot;related_post_title&quot;&gt;既然来了，也许你也会想看一下：&lt;/h3&gt;&lt;ul class=&quot;related_post&quot;&gt;&lt;li&gt;2010/09/01 -- &lt;a href=&quot;http://www.movoin.com/my-jquery-plugins-toolbox.html&quot; title=&quot;常用于后台开发的jQuery插件&quot;&gt;常用于后台开发的jQuery插件&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/406666557/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666557/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666557/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666557/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</content:encoded><wfw:commentRss>http://www.movoin.com/fix-ie6-iframe-horizontal-scroll-bar.html/feed</wfw:commentRss><slash:comments>0</slash:comments><description>上帝才知道为什么IE6在国内还是那么强的生命力，甚至还有其“粉丝团”~~~哎，抱怨完毕。 最近在开发公司的新产品，在后台使用了大量的JQuery(jquery.layout, jquery.grid, jquery.ui等)，而今天要讲的问题就是在使用jquery.layout时遇到的，虽然使用了大量jquery插件，可是我并不想使用Ajax，因为目前产品还没有定型，只是在搭架子的时期，这时候应该是讲求快速实现及快速修改，所以并不打算在这个阶段使用Ajax。出于以上考虑，我选择了iframe，在FF中着实在让我小兴奋了一下，很精制的效果，配合jquery.ui使整个感觉很顺畅，完全达到我的预期。可是一到IE下，我就傻眼了，界面是常有的错位我就不提了，逐一修复后，发现出现了横向滚动条。 汗~~~根本不明白它是怎么来的。于是到网上查了一下，大致的原因是iframe中的页面有相对body的样式包含width:100%的元素。 同时也找到了解决的办法，第一和第二条比较常见（CSS解决：overflow-x: hidden;），也是我一开始想到的，而第三条是我使用的方法，在这里分享出来。 $(function(){ if($.browser.msie&amp;#038;&amp;#038;$.browser.version==&quot;6.0&quot;&amp;#038;&amp;#038;$(&quot;html&quot;)[0].scrollHeight&gt;$(&quot;html&quot;).height()) $(&quot;html&quot;).css(&quot;overflowY&quot;,&quot;scroll&quot;); }); 既然来了，也许你也会想看一下：2010/09/01 -- 常用于后台开发的jQuery插件&lt;img src=&quot;http://www1.feedsky.com/t1/406666557/movoin/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/movoin/~7583469/406666557/1236733/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/movoin/406666557/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/movoin/406666557/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category>jQuery</category><category>Css</category><category>前端开发</category><category>Html</category><pubDate>Thu, 19 Aug 2010 10:08:01 +0800</pubDate><author>Allen</author><comments>http://www.movoin.com/fix-ie6-iframe-horizontal-scroll-bar.html#comments</comments><guid isPermaLink="false">http://movoin.com/?p=11</guid><dc:creator>Allen</dc:creator><fs:srclink>http://www.movoin.com/fix-ie6-iframe-horizontal-scroll-bar.html</fs:srclink><fs:srcfeed>http://movoin.com/feed</fs:srcfeed><fs:itemid>feedsky/movoin/~7583469/406666557/1236733</fs:itemid></item><item><title>我在读什么@GoogleReader [2010-08-19]</title><link>http://www.google.com/reader/shared/02081063612944962302#2010-08-19</link><guid>http://www.google.com/reader/shared/02081063612944962302#2010-08-19</guid><pubDate>Thu, 19 Aug 2010 00:00:00 +0800</pubDate><description>&lt;ul&gt;&lt;li&gt;&lt;a href='http://hi.baidu.com/sc05011036/blog/item/acf5e51284fb4b5cf919b815.html' title='link to ..'&gt;非常好的最新中文版PHP手册（CHM格式）&lt;/a&gt;&lt;br/&gt;&lt;div&gt;在chinaunix论坛上发现的资源，非常不错，下载页面为：&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://bbs2.chinaunix.net/viewthread.php?tid=999247&quot;&gt;&lt;strong&gt;PHP中文手册CHM版整合最新评论，2010演示版（8月17更新），PHP5.3必备&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt; 
		
		&lt;br&gt;&lt;b&gt;类别：&lt;/b&gt;&lt;a href=&quot;http://hi.baidu.com/sc05011036/blog/category/%BA%FA%CB%BC%C2%D2%CF%EB&quot;&gt;胡思乱想&lt;/a&gt; &lt;a href=&quot;http://hi.baidu.com/sc05011036/blog/item/acf5e51284fb4b5cf919b815.html#comment&quot;&gt;查看评论&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description><fs:burntype>mark day</fs:burntype><fs:srclink>http://hi.baidu.com/sc05011036/blog/item/acf5e51284fb4b5cf919b815.html</fs:srclink><fs:srcfeed>http://www.google.com/reader/public/atom/user/02081063612944962302/state/com.google/broadcast</fs:srcfeed><fs:itemid>feedsky/movoin/~7353715/404656608/1236733</fs:itemid></item><item><title>我在读什么@GoogleReader [2010-08-18]</title><link>http://www.google.com/reader/shared/02081063612944962302#2010-08-18</link><guid>http://www.google.com/reader/shared/02081063612944962302#2010-08-18</guid><pubDate>Wed, 18 Aug 2010 00:00:00 +0800</pubDate><description>&lt;ul&gt;&lt;li&gt;&lt;a href='http://article.yeeyan.org/view/98503/127302' title='link to ..'&gt;简单动画解释复杂机械原理&lt;/a&gt;&lt;br/&gt;&lt;div&gt;原作者：来源Complicated Mechanisms Explained in simple animations译者三十九级台阶Radial Engines 星形发动机 Radial engines are used in aircrafts having propeller connected to the shaft delivering power in order to produce thrust its basic mechanism ..&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description><fs:burntype>mark day</fs:burntype><fs:srclink>http://article.yeeyan.org/view/98503/127302</fs:srclink><fs:srcfeed>http://www.google.com/reader/public/atom/user/02081063612944962302/state/com.google/broadcast</fs:srcfeed><fs:itemid>feedsky/movoin/~7353715/404656609/1236733</fs:itemid></item><item><title>我在读什么@GoogleReader [2010-08-10]</title><link>http://www.google.com/reader/shared/02081063612944962302#2010-08-10</link><guid>http://www.google.com/reader/shared/02081063612944962302#2010-08-10</guid><pubDate>Tue, 10 Aug 2010 00:00:00 +0800</pubDate><description>&lt;ul&gt;&lt;li&gt;&lt;a href='http://www.guyizhou.cn/default.asp?id=12290' title='link to ..'&gt;（美）怀特《窗边的男孩》txt（姚明力荐）&lt;/a&gt;&lt;br/&gt;&lt;div&gt;
 
　　《窗边的男孩》讲述12岁的男孩山姆因患有脑性麻痹症而注定一生都要在轮椅上度过，他热爱篮球，却只能在窗边遥望篮球场上健康少年的身影。好在他的保姆珀金斯经常为他读温斯顿·丘吉尔的传记，使他不断从丘吉尔的经历中获得鼓励和力量。
　　在多方努力下，山..&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description><fs:burntype>mark day</fs:burntype><fs:srclink>http://www.guyizhou.cn/default.asp?id=12290</fs:srclink><fs:srcfeed>http://www.google.com/reader/public/atom/user/02081063612944962302/state/com.google/broadcast</fs:srcfeed><fs:itemid>feedsky/movoin/~7353715/403872776/1236733</fs:itemid></item></channel></rss>