<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: UGiA PHP UPLOADER V0.2 发布</title>
	<atom:link href="http://www.ugia.cn/?feed=rss2&#038;p=70" rel="self" type="application/rss+xml" />
	<link>http://www.ugia.cn/?p=70</link>
	<description>null</description>
	<lastBuildDate>Wed, 04 Aug 2010 17:00:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: harris</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-99726</link>
		<dc:creator>harris</dc:creator>
		<pubDate>Fri, 30 Jul 2010 13:00:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-99726</guid>
		<description>如何在后台判断文件的扩展名啊！不知道在哪里修改？</description>
		<content:encoded><![CDATA[<p>如何在后台判断文件的扩展名啊！不知道在哪里修改？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: merauy</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-96910</link>
		<dc:creator>merauy</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-96910</guid>
		<description>谢谢，这个让我学了不少东东！
有机会再向您学习</description>
		<content:encoded><![CDATA[<p>谢谢，这个让我学了不少东东！<br />
有机会再向您学习</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: just</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-65900</link>
		<dc:creator>just</dc:creator>
		<pubDate>Wed, 02 Jul 2008 10:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-65900</guid>
		<description>做点事情都不能持之以恒，还有什么用？？
浪费大家对你的一片期望！！
BS你这种技术清洁工！</description>
		<content:encoded><![CDATA[<p>做点事情都不能持之以恒，还有什么用？？<br />
浪费大家对你的一片期望！！<br />
BS你这种技术清洁工！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 馬小九</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-60081</link>
		<dc:creator>馬小九</dc:creator>
		<pubDate>Wed, 23 Jan 2008 19:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-60081</guid>
		<description>可以把進度條 拿掉嗎?
也就是上傳的時候不要顯示進度的視窗
可以嗎?</description>
		<content:encoded><![CDATA[<p>可以把進度條 拿掉嗎?<br />
也就是上傳的時候不要顯示進度的視窗<br />
可以嗎?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yongnengyong</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-59466</link>
		<dc:creator>yongnengyong</dc:creator>
		<pubDate>Fri, 18 Jan 2008 06:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-59466</guid>
		<description>请问一下,怎么不能上传音频文件呢?</description>
		<content:encoded><![CDATA[<p>请问一下,怎么不能上传音频文件呢?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xiaozhang</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-59452</link>
		<dc:creator>xiaozhang</dc:creator>
		<pubDate>Fri, 18 Jan 2008 00:53:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-59452</guid>
		<description>首先非常感谢您们提供的UPU,但我在使用中遇到了一个问题,那就是upload后,获取其上传文件的标题和内容,发现是乱码,不知道怎么解决,我用的是upu0.2</description>
		<content:encoded><![CDATA[<p>首先非常感谢您们提供的UPU,但我在使用中遇到了一个问题,那就是upload后,获取其上传文件的标题和内容,发现是乱码,不知道怎么解决,我用的是upu0.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yongnengyong</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-59238</link>
		<dc:creator>yongnengyong</dc:creator>
		<pubDate>Wed, 16 Jan 2008 09:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-59238</guid>
		<description>为什么我得到的文件名是乱码呀?</description>
		<content:encoded><![CDATA[<p>为什么我得到的文件名是乱码呀?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: redlz2500</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-58059</link>
		<dc:creator>redlz2500</dc:creator>
		<pubDate>Sun, 06 Jan 2008 11:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-58059</guid>
		<description>when browse by ie and ff
the result is different
ff2.0, winxp sp2, ie6.0, web server apache2.x+php5.x, page charset is gb2312
the ugia default charset is utf-8
after changed all page in ugia the situation is still bad
not only the interface about progress.php, but also with my file-uploaded function
so i made some change to deal the question
first: change my server charset into utf-8, no way
second: encode the output of getinfo.php and decode in progress.js, but work bad
third: check the client&#039;s browse, if not M$IE, then do nothing, this means the output is still my charset set:gb2312; if is M$IE, so use &quot;mb_convert_encoding($output, &#039;utf-8&#039;, &#039;gb2312&#039;);&quot; to make the utf-8 output
code change:
1, all charset is change into gb2312
2, in getinfo.php, check the client&#039;s browse, then in step3,4,5 echo the corresponding char</description>
		<content:encoded><![CDATA[<p>when browse by ie and ff<br />
the result is different<br />
ff2.0, winxp sp2, ie6.0, web server apache2.x+php5.x, page charset is gb2312<br />
the ugia default charset is utf-8<br />
after changed all page in ugia the situation is still bad<br />
not only the interface about progress.php, but also with my file-uploaded function<br />
so i made some change to deal the question<br />
first: change my server charset into utf-8, no way<br />
second: encode the output of getinfo.php and decode in progress.js, but work bad<br />
third: check the client&#8217;s browse, if not M$IE, then do nothing, this means the output is still my charset set:gb2312; if is M$IE, so use &#8220;mb_convert_encoding($output, &#8216;utf-8&#8242;, &#8216;gb2312&#8242;);&#8221; to make the utf-8 output<br />
code change:<br />
1, all charset is change into gb2312<br />
2, in getinfo.php, check the client&#8217;s browse, then in step3,4,5 echo the corresponding char</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: redlz2500</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-58020</link>
		<dc:creator>redlz2500</dc:creator>
		<pubDate>Sun, 06 Jan 2008 06:49:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-58020</guid>
		<description>about ff compatibility in Form post
the filename of input-file is no dir(winxp,ff2.0)
so the regeneration will loss the first char in the function getBaseName($path)
change the code as this will fix the bug:

    function getBaseName($path)
    {
        $path = str_replace(&quot;\\&quot;, &quot;/&quot;, $path);
	if(!strrpos($path, &quot;/&quot;)){
		return $path;
	}else{
        	return substr($path, strrpos($path, &quot;/&quot;) + 1);
	}
    }</description>
		<content:encoded><![CDATA[<p>about ff compatibility in Form post<br />
the filename of input-file is no dir(winxp,ff2.0)<br />
so the regeneration will loss the first char in the function getBaseName($path)<br />
change the code as this will fix the bug:</p>
<p>    function getBaseName($path)<br />
    {<br />
        $path = str_replace(&#8220;\\&#8221;, &#8220;/&#8221;, $path);<br />
	if(!strrpos($path, &#8220;/&#8221;)){<br />
		return $path;<br />
	}else{<br />
        	return substr($path, strrpos($path, &#8220;/&#8221;) + 1);<br />
	}<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lampmvc@qq.com</title>
		<link>http://www.ugia.cn/?p=70&#038;cpage=4#comment-56073</link>
		<dc:creator>lampmvc@qq.com</dc:creator>
		<pubDate>Tue, 25 Dec 2007 16:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ugia.cn/?p=70#comment-56073</guid>
		<description>help ; need help ! add me!</description>
		<content:encoded><![CDATA[<p>help ; need help ! add me!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
