<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/7.2.5-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>David's Blog - Latest Comments on Corrupted ZIP file downloads with PHP</title>
		<link>https://www.heath-whyte.info/david/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.heath-whyte.info/david/?tempskin=_rss2&#38;disp=comments&#38;p=83" />
		<description></description>
		<language>en-UK</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=7.2.5-stable"/>
		<ttl>60</ttl>
		<item>
			<title> Arsh [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Thu, 04 Jul 2013 17:18:17 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_114">Arsh</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c114@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;You are a genius man, you save some hair in my head.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>You are a genius man, you save some hair in my head.</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c114</link>
		</item>
		<item>
			<title> Nithin [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Tue, 26 Mar 2013 12:43:01 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_109">Nithin</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c109@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;Thank you. It&amp;#8217;s working&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Thank you. It&#8217;s working</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c109</link>
		</item>
		<item>
			<title>david [Member] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Mon, 04 Feb 2013 20:51:47 +0000</pubDate>
			<dc:creator><span class="login user nowrap" rel="bubbletip_user_1"><span class="identity_link_username">david</span></span> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c108@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;Roger - I don&amp;#8217;t think that&amp;#8217;s the issue, it&amp;#8217;s gzip vs zip downloads that is the problem.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Roger - I don&#8217;t think that&#8217;s the issue, it&#8217;s gzip vs zip downloads that is the problem.</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c108</link>
		</item>
		<item>
			<title> Roger [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Mon, 04 Feb 2013 20:43:35 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_107">Roger</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c107@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;You can do it this way:&lt;/p&gt;

&lt;p&gt;$size = filesize($yourfile);&lt;br /&gt;
header(&quot;Content-Length: \&quot;.$size.\&quot;&quot;);&lt;/p&gt;

&lt;p&gt;So content-length header needs a real string, and filesize returns an integer.&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>You can do it this way:</p>

<p>$size = filesize($yourfile);<br />
header("Content-Length: \".$size.\"");</p>

<p>So content-length header needs a real string, and filesize returns an integer.</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c107</link>
		</item>
		<item>
			<title> Viktoria [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Sat, 20 Oct 2012 21:47:45 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_102">Viktoria</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c102@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;Thanks much! I regret that didn&amp;#8217;t find your article earlier, so much hours were wasted for the reason why my zips are corruoted :)&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Thanks much! I regret that didn&#8217;t find your article earlier, so much hours were wasted for the reason why my zips are corruoted :)</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c102</link>
		</item>
		<item>
			<title> Koala [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Tue, 16 Oct 2012 17:38:08 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_99">Koala</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c99@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;You have saved my life. Thank you !!!&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>You have saved my life. Thank you !!!</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c99</link>
		</item>
		<item>
			<title> Jan [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Tue, 18 Sep 2012 21:09:56 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_76">Jan</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c76@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;Thank you for figuring this out. Really saved me some hours right there :)&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Thank you for figuring this out. Really saved me some hours right there :)</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c76</link>
		</item>
		<item>
			<title> RB [Visitor] in response to: Corrupted ZIP file downloads with PHP</title>
			<pubDate>Sat, 18 Dec 2010 00:10:58 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_69">RB</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c69@https://www.heath-whyte.info/</guid>
			<description>&lt;p&gt;Wow, Thanks. This fixed my problem too! (at least as far as I can tell) ;)&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p>Wow, Thanks. This fixed my problem too! (at least as far as I can tell) ;)</p>]]></content:encoded>
			<link>https://www.heath-whyte.info/david/computers/corrupted-zip-file-downloads-with-php#c69</link>
		</item>
			</channel>
</rss>
