<?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: How to allow users to download files in PHP</title>
	<atom:link href="http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/</link>
	<description>php &#124; javascript &#124; ajax &#124; and all things web</description>
	<lastBuildDate>Sat, 04 Feb 2012 08:50:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Hakoo</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-38676</link>
		<dc:creator>Hakoo</dc:creator>
		<pubDate>Sat, 28 Jan 2012 04:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-38676</guid>
		<description>Hey,
You have given nice code. I am newbie in PHP. Can you tell me how can I write this in MVC framework?</description>
		<content:encoded><![CDATA[<p>Hey,<br />
You have given nice code. I am newbie in PHP. Can you tell me how can I write this in MVC framework?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boochia Ritesh</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-9324</link>
		<dc:creator>Boochia Ritesh</dc:creator>
		<pubDate>Sat, 27 Feb 2010 09:45:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-9324</guid>
		<description>Elo, I have a database which stores the path of my file (Different file formats - pdf, word, image, openoffice, etc)..  Can you please help me to write the code for downloading the file? Thank you</description>
		<content:encoded><![CDATA[<p>Elo, I have a database which stores the path of my file (Different file formats &#8211; pdf, word, image, openoffice, etc)..  Can you please help me to write the code for downloading the file? Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to download files with PHP &#124; vijayjoshi.org</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-5145</link>
		<dc:creator>How to download files with PHP &#124; vijayjoshi.org</dc:creator>
		<pubDate>Sat, 19 Sep 2009 11:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-5145</guid>
		<description>[...] Read more: How to download files with PHP &#124; vijayjoshi.org [...]</description>
		<content:encoded><![CDATA[<p>[...] Read more: How to download files with PHP | vijayjoshi.org [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-4538</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Tue, 11 Aug 2009 01:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-4538</guid>
		<description>Thanks! Keep &#039;em coming!</description>
		<content:encoded><![CDATA[<p>Thanks! Keep &#8216;em coming!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-2543</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 28 May 2009 12:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-2543</guid>
		<description>Thanks so much.</description>
		<content:encoded><![CDATA[<p>Thanks so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aniruddha</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-1841</link>
		<dc:creator>Aniruddha</dc:creator>
		<pubDate>Thu, 07 May 2009 23:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-1841</guid>
		<description>I have used similar .php file for prompting visitors to download, but due to some unknown reasons it works on firefox but not on IE</description>
		<content:encoded><![CDATA[<p>I have used similar .php file for prompting visitors to download, but due to some unknown reasons it works on firefox but not on IE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-04-05 on studiowhiz.com</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-1525</link>
		<dc:creator>links for 2009-04-05 on studiowhiz.com</dc:creator>
		<pubDate>Mon, 06 Apr 2009 00:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-1525</guid>
		<description>[...] How to download files with PHP &#124; vijayjoshi.org handy code snippet to enable file downloading with php (tags: php download webdesign file content-type) [...]</description>
		<content:encoded><![CDATA[<p>[...] How to download files with PHP | vijayjoshi.org handy code snippet to enable file downloading with php (tags: php download webdesign file content-type) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-465</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Fri, 23 Jan 2009 12:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-465</guid>
		<description>@sharad:
First of all please note that this code is for downloading files from the filesystem not from database.
That is the complete code.Save those 3 lines as download.php.
Then access it from a hyperlink from the other file(index.html in above example)</description>
		<content:encoded><![CDATA[<p>@sharad:<br />
First of all please note that this code is for downloading files from the filesystem not from database.<br />
That is the complete code.Save those 3 lines as download.php.<br />
Then access it from a hyperlink from the other file(index.html in above example)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharad</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-464</link>
		<dc:creator>sharad</dc:creator>
		<pubDate>Fri, 23 Jan 2009 12:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-464</guid>
		<description>Why you have not posted the whole code.  these 3 lines alone cant download a file from database. Without complete code your code is of no help to anyone.</description>
		<content:encoded><![CDATA[<p>Why you have not posted the whole code.  these 3 lines alone cant download a file from database. Without complete code your code is of no help to anyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.vijayjoshi.org/2008/11/25/how-to-allow-users-to-download-files-in-php/comment-page-1/#comment-50</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Tue, 09 Dec 2008 12:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijayjoshi.org/?p=132#comment-50</guid>
		<description>Hi Vijay,

As per your comment -[&quot;First remember that there must not be any line besides these lines in the file. Also note that outputting anything to the browser,like blank spaces or any html before a call to header function as it will throw an error&quot;]

It will never give an error if you add  on top of the code.


With thanks


AMIT BAJAJ</description>
		<content:encoded><![CDATA[<p>Hi Vijay,</p>
<p>As per your comment -["First remember that there must not be any line besides these lines in the file. Also note that outputting anything to the browser,like blank spaces or any html before a call to header function as it will throw an error"]</p>
<p>It will never give an error if you add  on top of the code.</p>
<p>With thanks</p>
<p>AMIT BAJAJ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

