<?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>榆树网 &#187; phpdisk</title>
	<atom:link href="http://www.wenzk.com/archives/tag/phpdisk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenzk.com</link>
	<description>http://www.wenzk.com</description>
	<lastBuildDate>Fri, 03 Sep 2010 13:37:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>对PHPDisk做一点点小的调整</title>
		<link>http://www.wenzk.com/archives/570</link>
		<comments>http://www.wenzk.com/archives/570#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:06:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[phpdisk]]></category>
		<category><![CDATA[下载]]></category>
		<category><![CDATA[文件系统]]></category>
		<category><![CDATA[用户控制]]></category>
		<category><![CDATA[网络硬盘]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=570</guid>
		<description><![CDATA[需求：要求公共文件只有已注册帐号才能浏览和下载。无帐号用户拥有提取码仍然可以下载到该下载的文件。 想了许多方法，最终还是觉得这个方法比较快捷： 1、在includes/header.inc.php增加： if(!$pd_uid &#38;&#38; $dont_need_login != 1 ){ header(&#34;Location: &#34;.urr(&#34;account&#34;,&#34;action=login&#34;)); } 2、分别在account.php extract.php viewfile.php文件头部增加 $dont_need_login = 1; 相关文章The Z File System(ZFS)-ZFS on FreeBSD (0)]]></description>
			<content:encoded><![CDATA[<p>需求：要求公共文件只有已注册帐号才能浏览和下载。无帐号用户拥有提取码仍然可以下载到该下载的文件。</p>
<p>想了许多方法，最终还是觉得这个方法比较快捷：</p>
<p>1、在includes/header.inc.php增加：</p>
<pre class="brush: php;">if(!$pd_uid &amp;&amp; $dont_need_login != 1 ){
 header(&quot;Location: &quot;.urr(&quot;account&quot;,&quot;action=login&quot;));
}
</pre>
<p>2、分别在account.php extract.php viewfile.php文件头部增加</p>
<pre class="brush: php;">$dont_need_login = 1;</pre>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/796" title="The Z File System(ZFS)-ZFS on FreeBSD">The Z File System(ZFS)-ZFS on FreeBSD</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/570/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
