<?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>Dominic.Xu&#039;s 博客 &#187; 上传</title>
	<atom:link href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0/feed" rel="self" type="application/rss+xml" />
	<link>http://xuplus.com</link>
	<description>Web 2.0 生活</description>
	<lastBuildDate>Wed, 24 Aug 2011 05:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress 2.1添加自定义文件上传类型（允许上传rar文件方法）</title>
		<link>http://xuplus.com/article/2007/04/a15.html</link>
		<comments>http://xuplus.com/article/2007/04/a15.html#comments</comments>
		<pubDate>Wed, 18 Apr 2007 04:28:56 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[Web应用]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[文件类型]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=15</guid>
		<description><![CDATA[注意，2.1中修改允许上传文件文件类型的的位置变了，以前的版本是wp-includes\functions-post.php，2.1之后的版本改成了wp-includes\functions.php wordpress2.1.3默认不支持上传rar文件，修改方法如下： 打开wp-includes\functions.php，查找    &#8216;zip&#8217; =&#62; &#8216;application/zip&#8217;, （第1106行左右），在这一行的下面加上这一行 &#8216;rar&#8217; =&#62; &#8216;application/rar&#8217;, 注意后面有个半角的逗号，别复制漏了，引号是半角单引号。 保存就可以了，如果是用ftp管理别忘了上传哦。 标签： rar, Wordpress, 上传, 文件类型]]></description>
			<content:encoded><![CDATA[<p class="postentry"><font size="3"><strong>注意，2.1中修改允许上传文件文件类型的的位置变了</strong>，以前的版本是<strong><font color="#ef6c6c">wp-includes\functions-post.php</font></strong>，2.1之后的版本改成了<strong><font color="#ef6c6c">wp-includes\functions.php</font></strong></font></p>
<p><font size="3"><a href="http://xuplus.com/article/tag/wordpress" class="st_tag internal_tag" rel="tag" title="标签 Wordpress 下的日志">wordpress</a>2.1.3默认不支持<span class="hilite1"><a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" class="st_tag internal_tag" rel="tag" title="标签 上传 下的日志">上传</a></span>rar文件，修改方法如下：<br />
打开wp-includes\functions.php，查找</font></p>
<blockquote><p><font size="3">   &#8216;zip&#8217; =&gt; &#8216;application/zip&#8217;,</font></p></blockquote>
<p><font size="3">（第1106行左右），在这一行的下面加上这一行</font></p>
<blockquote><p><font size="3">&#8216;<a href="http://xuplus.com/article/tag/rar" class="st_tag internal_tag" rel="tag" title="标签 rar 下的日志">rar</a>&#8217; =&gt; &#8216;application/<a href="http://xuplus.com/article/tag/rar" class="st_tag internal_tag" rel="tag" title="标签 rar 下的日志">rar</a>&#8217;,</font></p></blockquote>
<p><font size="3" color="#ff0000"><strong>注意后面有个半角的逗号，别复制漏了，引号是半角单引号。</strong></font></p>
<p><font size="3">保存就可以了，如果是用ftp管理别忘了上传哦。</font></p>

	标签： <a href="http://xuplus.com/article/tag/rar" title="rar" rel="tag">rar</a>, <a href="http://xuplus.com/article/tag/wordpress" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a>, <a href="http://xuplus.com/article/tag/%e6%96%87%e4%bb%b6%e7%b1%bb%e5%9e%8b" title="文件类型" rel="tag">文件类型</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a15.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xoops中FCKeditor的上传文件时中文文件名解决方案</title>
		<link>http://xuplus.com/article/2007/04/a8.html</link>
		<comments>http://xuplus.com/article/2007/04/a8.html#comments</comments>
		<pubDate>Thu, 12 Apr 2007 10:22:43 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[XOOPS]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[中文]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=8</guid>
		<description><![CDATA[使用FCKeditor上传图片、Flash等文件时，文件名中的中文会显示为乱码并在在服务器上面保存有些全部为乱码文件，不能正常显示，在网上搜了一下前辈们的解决方法，没找到很好的解决办法。看来还有N多的人和我一样的困惑，但解决办法又如此的简单： 将 editor\filemanager\browser\default\frmupload.html 文件的编码改为UTF-8即可。 如果不能解决则 编辑upload.php文件 // Compose the file path. //Modifyed By XuYong 修正UTF-8的问题 $sFileName =iconv(“utf-8&#8243;,”gbk”,$sFileName); //End Modifyed 环境XOOPS 2.0.16 UTF-8 标签： article, fckeditor, XOOPS, 上传, 中文]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10pt">使用FCKeditor上传图片、Flash等文件时，文件名中的中文会显示为乱码并在在服务器上面保存有些全部为乱码文件，不能正常显示，在网上搜了一下前辈们的解决方法，没找到很好的解决办法。看来还有N多的人和我一样的困惑，但解决办法又如此的简单： </span></p>
<p><span style="font-size: 10pt">将 editor\filemanager\browser\default\frmupload.html 文件的编码改为UTF-8即可。 </span></p>
<p><span style="font-size: 10pt">如果不能解决则 </span></p>
<p><span style="font-size: 10pt">编辑upload.php文件 </span></p>
<p><span style="font-size: 10pt">// Compose the file path. </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 修正UTF-8的问题 </span></p>
<p><span style="font-size: 10pt">$sFileName =iconv(“utf-8&#8243;,”gbk”,$sFileName); </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p><span style="font-size: 10pt"></span>环境XOOPS 2.0.16 UTF-8</p>

	标签： <a href="http://xuplus.com/article/tag/article" title="article" rel="tag">article</a>, <a href="http://xuplus.com/article/tag/fckeditor" title="fckeditor" rel="tag">fckeditor</a>, <a href="http://xuplus.com/article/tag/xoops" title="XOOPS" rel="tag">XOOPS</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a>, <a href="http://xuplus.com/article/tag/%e4%b8%ad%e6%96%87" title="中文" rel="tag">中文</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a8.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XOOPS中Fckeditor 在arctile模组中上传失败解决方法</title>
		<link>http://xuplus.com/article/2007/04/a7.html</link>
		<comments>http://xuplus.com/article/2007/04/a7.html#comments</comments>
		<pubDate>Thu, 12 Apr 2007 10:21:03 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[XOOPS]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[上传]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=7</guid>
		<description><![CDATA[上传过程提示信息： This file uploader is disabled. Please check the “editor/filemanager/upload/php/config.php” file 使用过程中可能出现问题。有以下几个地方要修改 modules\article\fckeditor.upload.php 中必须定义 define(“FCKUPLOAD_DISABLED”, 1); 修改class\xoopseditor\FCKeditor\editor\filemanager\upload\php\upload.php 文件头部为 //Modifyed By XuYong 解决有时不能顺利获取config.php等文件 $current_path =dirname(__FILE__); if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path); require($current_path.&#8217;/config.php&#8217;) ; require($current_path.&#8217;/util.php&#8217;) ; /* require(&#8216;config.php&#8217;) ; require(&#8216;util.php&#8217;) ; */ //End Modifyed 修改class\xoopseditor\FCKeditor\editor\filemanager\upload\php\connector.php 文件头部为 //Modifyed By XuYong 解决有时不能顺利获取config.php等文件 $current_path [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10pt">上传过程提示信息： </span></p>
<p><span style="font-size: 10pt; color: red"><em>This file uploader is disabled. Please check the “editor/filemanager/upload/php/config.php” file </em></span></p>
<p><span style="font-size: 10pt">使用过程中可能出现问题。有以下几个地方要修改 </span></p>
<p><span style="font-size: 10pt; color: red">modules\<a href="http://xuplus.com/article/tag/article" class="st_tag internal_tag" rel="tag" title="标签 article 下的日志">article</a>\<a href="http://xuplus.com/article/tag/fckeditor" class="st_tag internal_tag" rel="tag" title="标签 fckeditor 下的日志">fckeditor</a>.upload.php </span></p>
<p><span style="font-size: 10pt">中必须定义 </span></p>
<p><span style="font-size: 10pt; color: red">define(“FCKUPLOAD_DISABLED”, 1); </span></p>
<p><span style="font-size: 10pt">修改<span style="color: red">class\xoopseditor\FCKeditor\editor\filemanager\upload\php\upload.php</span> </span></p>
<p><span style="font-size: 10pt">文件头部为 </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 解决有时不能顺利获取config.php等文件 </span></p>
<p><span style="font-size: 10pt">$current_path =dirname(__FILE__); </span></p>
<p><span style="font-size: 10pt">if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path); </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">/* </span></p>
<p><span style="font-size: 10pt">require(&#8216;config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">require(&#8216;util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">*/ </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p><span style="font-size: 10pt">修改<span style="color: red">class\xoopseditor\FCKeditor\editor\filemanager\upload\php\connector.php</span> </span></p>
<p><span style="font-size: 10pt">文件头部为 </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 解决有时不能顺利获取config.php等文件 </span></p>
<p><span style="font-size: 10pt">$current_path =dirname(__FILE__); </span></p>
<p><span style="font-size: 10pt">if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path);<span style="color: red"> </span></span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/io.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/basexml.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/commands.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">/* </span></p>
<p><span style="font-size: 10pt">include(&#8216;config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;io.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;basexml.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;commands.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">*/ </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p>环境：<a href="http://xuplus.com/article/tag/xoops" class="st_tag internal_tag" rel="tag" title="标签 XOOPS 下的日志">XOOPS</a> 2.0.16 UTF-8</p>
<p><span style="font-size: 10pt"></span></p>

	标签： <a href="http://xuplus.com/article/tag/article" title="article" rel="tag">article</a>, <a href="http://xuplus.com/article/tag/fckeditor" title="fckeditor" rel="tag">fckeditor</a>, <a href="http://xuplus.com/article/tag/xoops" title="XOOPS" rel="tag">XOOPS</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a7.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

