<?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: PHP File Streaming with cat and passthru</title>
	<atom:link href="http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 22:50:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/comment-page-1/#comment-829</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Wed, 25 Jan 2012 22:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=63#comment-829</guid>
		<description>How about fpassthru? Does it eat up all the memory?</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>How about fpassthru? Does it eat up all the memory?</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
	<item>
		<title>By: Lempert</title>
		<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/comment-page-1/#comment-427</link>
		<dc:creator>Lempert</dc:creator>
		<pubDate>Fri, 26 Nov 2010 14:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=63#comment-427</guid>
		<description>Why don&#039;t split this operation into two different? The first one creates file, the second - does the import?</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Why don&#8217;t split this operation into two different? The first one creates file, the second &#8211; does the import?</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/comment-page-1/#comment-319</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 11 Nov 2009 18:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=63#comment-319</guid>
		<description>Hi Anonymous, and Hongli - these are all great suggestions!

I&#039;ve never dealt with large file downloads like this where I&#039;m serving the file up for download, so I&#039;m a bit new to this arena.

The suggestions are much appreciated and I&#039;ll try them both out!</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Hi Anonymous, and Hongli &#8211; these are all great suggestions!</p>
<p>I&#8217;ve never dealt with large file downloads like this where I&#8217;m serving the file up for download, so I&#8217;m a bit new to this arena.</p>
<p>The suggestions are much appreciated and I&#8217;ll try them both out!</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
	<item>
		<title>By: Hongli Lai</title>
		<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/comment-page-1/#comment-318</link>
		<dc:creator>Hongli Lai</dc:creator>
		<pubDate>Tue, 10 Nov 2009 08:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=63#comment-318</guid>
		<description>I did something like this before but I didn&#039;t use passthru. I just read the file in small chunks of 8 KB and writes out each chunk as I read them. Output buffering has to be disabled of course.

Why write to a file at all? Why not passthru the output of &#039;mysqldump &#124; bzip2&#039; directly? That way the user doesn&#039;t have to wait for the dump to complete.</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I did something like this before but I didn&#8217;t use passthru. I just read the file in small chunks of 8 KB and writes out each chunk as I read them. Output buffering has to be disabled of course.</p>
<p>Why write to a file at all? Why not passthru the output of &#8216;mysqldump | bzip2&#8242; directly? That way the user doesn&#8217;t have to wait for the dump to complete.</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.jason-palmer.com/2009/11/php-file-streaming-with-cat-and-passthru/comment-page-1/#comment-317</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 10 Nov 2009 01:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=63#comment-317</guid>
		<description>I know PHP-heads are fond of reinventing the wheel, but you may want to look into the X-Sendfile header.

http://www.adaniels.nl/articles/how-i-php-x-sendfile/</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I know PHP-heads are fond of reinventing the wheel, but you may want to look into the X-Sendfile header.</p>
<p><a href="http://www.adaniels.nl/articles/how-i-php-x-sendfile/" rel="nofollow">http://www.adaniels.nl/articles/how-i-php-x-sendfile/</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.141 seconds -->

