<?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"
	>
<channel>
	<title>Comments on: [PHP] header下載檔案 搭配資料庫</title>
	<atom:link href="http://blog.wu-boy.com/2007/05/25/106/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wu-boy.com/2007/05/25/106/</link>
	<description>介紹一堆美食日記，生活日記，電腦筆記</description>
	<pubDate>Tue, 02 Dec 2008 18:05:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: [PHP]好用的上傳 pear 模組 HTTP_Upload &#124; 小惡魔 - 電</title>
		<link>http://blog.wu-boy.com/2007/05/25/106/#comment-3944</link>
		<dc:creator>[PHP]好用的上傳 pear 模組 HTTP_Upload &#124; 小惡魔 - 電</dc:creator>
		<pubDate>Fri, 24 Oct 2008 06:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/25/106/#comment-3944</guid>
		<description>[...] 在台大 ptt BBS 上面看到有人推文上傳功能可以交給 pear HTTP_Upload 來跟 PHP 搭</description>
		<content:encoded><![CDATA[<p>[...] 在台大 ptt BBS 上面看到有人推文上傳功能可以交給 pear HTTP_Upload 來跟 PHP 搭</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [心得]2008</title>
		<link>http://blog.wu-boy.com/2007/05/25/106/#comment-3747</link>
		<dc:creator>[心得]2008</dc:creator>
		<pubDate>Sat, 30 Aug 2008 16:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/25/106/#comment-3747</guid>
		<description>[...] 1. 檔案上傳的時候，務</description>
		<content:encoded><![CDATA[<p>[...] 1. 檔案上傳的時候，務</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: appleboy</title>
		<link>http://blog.wu-boy.com/2007/05/25/106/#comment-2957</link>
		<dc:creator>appleboy</dc:creator>
		<pubDate>Mon, 28 May 2007 01:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/25/106/#comment-2957</guid>
		<description>恩 感謝樓上提醒，不過我的構想是搭配資料庫，之後去資料庫撈要下載的檔案，在傳到，dl_file($file) 這個函數裡面，這樣就不會有上面您說的問題了</description>
		<content:encoded><![CDATA[<p>恩 感謝樓上提醒，不過我的構想是搭配資料庫，之後去資料庫撈要下載的檔案，在傳到，dl_file($file) 這個函數裡面，這樣就不會有上面您說的問題了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: windix</title>
		<link>http://blog.wu-boy.com/2007/05/25/106/#comment-2955</link>
		<dc:creator>windix</dc:creator>
		<pubDate>Mon, 28 May 2007 00:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/25/106/#comment-2955</guid>
		<description>你好，提醒一下，这个函数要小心使用，要注意检查入口参数$file是否是合法的，否则访客可通过构造特殊的字串来取得未经许可的文件。
例如用户要下载的文件abc.pdf放置于 /var/www/htdocs/myweb.com/download/
而用户使用通过构造诸如 ../../../../../etc/passwd 这样的字串，理论上来说，可以读出系统中任何文件的内容。</description>
		<content:encoded><![CDATA[<p>你好，提醒一下，这个函数要小心使用，要注意检查入口参数$file是否是合法的，否则访客可通过构造特殊的字串来取得未经许可的文件。<br />
例如用户要下载的文件abc.pdf放置于 /var/www/htdocs/myweb.com/download/<br />
而用户使用通过构造诸如 ../../../../../etc/passwd 这样的字串，理论上来说，可以读出系统中任何文件的内容。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
