<?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: serve downloads through php with pause/resume support</title>
	<atom:link href="http://pixelbyter.co.uk/2010/05/11/serve-downloads-through-php-with-pause-resume-support/feed/" rel="self" type="application/rss+xml" />
	<link>http://pixelbyter.co.uk/2010/05/11/serve-downloads-through-php-with-pause-resume-support/</link>
	<description>#rich nicholls</description>
	<lastBuildDate>Sat, 08 Jan 2011 11:59:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter</title>
		<link>http://pixelbyter.co.uk/2010/05/11/serve-downloads-through-php-with-pause-resume-support/comment-page-1/#comment-60</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 08 Jan 2011 11:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://pixelbyter.co.uk/?p=147#comment-60</guid>
		<description>This is nice code, however it has typing mistake which causes it to fail download resume:

 Line 20:  if(isset($_SERVER[&#039;HTTP_RANGE&#039;]) &amp;&amp; !emptyempty($_SERVER[&#039;HTTP_RANGE&#039;])) {  

should by just !empty(...) Took me a while to figure out why my download resume is not working...</description>
		<content:encoded><![CDATA[<p>This is nice code, however it has typing mistake which causes it to fail download resume:</p>
<p> Line 20:  if(isset($_SERVER['HTTP_RANGE']) &amp;&amp; !emptyempty($_SERVER['HTTP_RANGE'])) {  </p>
<p>should by just !empty(&#8230;) Took me a while to figure out why my download resume is not working&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali Mirjamali</title>
		<link>http://pixelbyter.co.uk/2010/05/11/serve-downloads-through-php-with-pause-resume-support/comment-page-1/#comment-59</link>
		<dc:creator>Ali Mirjamali</dc:creator>
		<pubDate>Thu, 02 Sep 2010 14:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://pixelbyter.co.uk/?p=147#comment-59</guid>
		<description>Thank you very much. This is a great code.

I did only few minor changes. I used $file_location as the only argument for dl function and then used this:

$file_name = basename($file_location)

I did not know about &#039;HTTP_RANGE&#039; and related header information (line 28-30). I am new to PHP (Started today). This code really helped me to understand.

Thanks again</description>
		<content:encoded><![CDATA[<p>Thank you very much. This is a great code.</p>
<p>I did only few minor changes. I used $file_location as the only argument for dl function and then used this:</p>
<p>$file_name = basename($file_location)</p>
<p>I did not know about &#8216;HTTP_RANGE&#8217; and related header information (line 28-30). I am new to PHP (Started today). This code really helped me to understand.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
</channel>
</rss>

