<?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: Hide the Real File URL and Provide Download via a PHP Script</title>
	<atom:link href="http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html</link>
	<description>Just another dumbass webmaster, goofing around...</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:57:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Pranay</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-15700</link>
		<dc:creator>Pranay</dc:creator>
		<pubDate>Thu, 10 Nov 2011 13:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-15700</guid>
		<description>This script works fine. 

If you have a page one.php refering to the download.php to download the file it works fine. Though you can only keep continuing at page one.php after the download is done.

The page is pausing untill the download is completed how can you avoid this? How can you keep navigating on the one.php?</description>
		<content:encoded><![CDATA[<p>This script works fine. </p>
<p>If you have a page one.php refering to the download.php to download the file it works fine. Though you can only keep continuing at page one.php after the download is done.</p>
<p>The page is pausing untill the download is completed how can you avoid this? How can you keep navigating on the one.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yasantha</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-15602</link>
		<dc:creator>Yasantha</dc:creator>
		<pubDate>Sat, 08 Oct 2011 14:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-15602</guid>
		<description>Thanks. It&#039;s really useful.</description>
		<content:encoded><![CDATA[<p>Thanks. It&#8217;s really useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Download file outside the Web Root- Tech Support by RAN Services in Augusta, GA</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-15535</link>
		<dc:creator>PHP Download file outside the Web Root- Tech Support by RAN Services in Augusta, GA</dc:creator>
		<pubDate>Wed, 07 Sep 2011 22:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-15535</guid>
		<description>[...] http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html" rel="nofollow">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelley</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-15355</link>
		<dc:creator>Shelley</dc:creator>
		<pubDate>Mon, 04 Jul 2011 02:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-15355</guid>
		<description>Will not work with Internet Explorer 9. Will download a empty 0 byte file</description>
		<content:encoded><![CDATA[<p>Will not work with Internet Explorer 9. Will download a empty 0 byte file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blackhawkso</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-14838</link>
		<dc:creator>Blackhawkso</dc:creator>
		<pubDate>Sat, 16 Apr 2011 13:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-14838</guid>
		<description>Hey dude
Great script but have two very quick questions about this script.

1. How can i send the user to a page after the download has either started or finished.

2. How can i get the script to tell my database that the file has been downloaded.

Thanks ffor your time.</description>
		<content:encoded><![CDATA[<p>Hey dude<br />
Great script but have two very quick questions about this script.</p>
<p>1. How can i send the user to a page after the download has either started or finished.</p>
<p>2. How can i get the script to tell my database that the file has been downloaded.</p>
<p>Thanks ffor your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mizan</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-14803</link>
		<dc:creator>Mizan</dc:creator>
		<pubDate>Thu, 14 Apr 2011 05:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-14803</guid>
		<description>good one, do you have  a  solution for bigger files? I don&#039;t want to load the whole file to memory at once, say it&#039;s a big like 300MB file. How do i do that?
thanks.</description>
		<content:encoded><![CDATA[<p>good one, do you have  a  solution for bigger files? I don&#8217;t want to load the whole file to memory at once, say it&#8217;s a big like 300MB file. How do i do that?<br />
thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rohan Dhamal</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-14273</link>
		<dc:creator>Rohan Dhamal</dc:creator>
		<pubDate>Fri, 25 Feb 2011 14:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-14273</guid>
		<description>Hi,
when I echo the image contents, then it adds 2 white spaces at the start, and thus image gets corrupted..

Why is that ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
when I echo the image contents, then it adds 2 white spaces at the start, and thus image gets corrupted..</p>
<p>Why is that ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-13971</link>
		<dc:creator>vikas</dc:creator>
		<pubDate>Sat, 01 Jan 2011 09:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-13971</guid>
		<description>will this use my bandwidth or of the server where the file is located?</description>
		<content:encoded><![CDATA[<p>will this use my bandwidth or of the server where the file is located?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-13970</link>
		<dc:creator>vikas</dc:creator>
		<pubDate>Sat, 01 Jan 2011 09:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-13970</guid>
		<description>just wanted to know that if the file is on someone else&#039;s website, then if i use this script, will my bandwitdh be used?</description>
		<content:encoded><![CDATA[<p>just wanted to know that if the file is on someone else&#8217;s website, then if i use this script, will my bandwitdh be used?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-13952</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 30 Dec 2010 01:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-13952</guid>
		<description>Oops, never mind.  Just found a script that&#039;ll do the trick for me.  Thanks!</description>
		<content:encoded><![CDATA[<p>Oops, never mind.  Just found a script that&#8217;ll do the trick for me.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-13943</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 29 Dec 2010 07:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-13943</guid>
		<description>Excellent script!  

Here&#039;s an interesting question, that probably has a super simple answer, but I do appreciate you putting up with me.

I&#039;m trying to &quot;download,&quot;/upload a file dynamically to my server, preferably with Php but anything will do.  I don&#039;t have access to the actual file name, just a link, such as you created with this script.  

For example, I&#039;m trying to get a video from youtube on to my server.  This link will give me the download, but I need to get that file directly to my server instead of my computer first:
http://bit.ly/eqo2AM

Any ideas, or could you point me in the right direction?  Thank you so much for your help!  Get me runnin&#039; and I&#039;ll definitely link to you as a &quot;consultant&quot;!</description>
		<content:encoded><![CDATA[<p>Excellent script!  </p>
<p>Here&#8217;s an interesting question, that probably has a super simple answer, but I do appreciate you putting up with me.</p>
<p>I&#8217;m trying to &#8220;download,&#8221;/upload a file dynamically to my server, preferably with Php but anything will do.  I don&#8217;t have access to the actual file name, just a link, such as you created with this script.  </p>
<p>For example, I&#8217;m trying to get a video from youtube on to my server.  This link will give me the download, but I need to get that file directly to my server instead of my computer first:<br />
<a href="http://bit.ly/eqo2AM" rel="nofollow">http://bit.ly/eqo2AM</a></p>
<p>Any ideas, or could you point me in the right direction?  Thank you so much for your help!  Get me runnin&#8217; and I&#8217;ll definitely link to you as a &#8220;consultant&#8221;!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xavi</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-11326</link>
		<dc:creator>xavi</dc:creator>
		<pubDate>Tue, 30 Nov 2010 13:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-11326</guid>
		<description>Hi!

Just wanna tell that this script worked so well for me! I only needed to add some previous filtering code and that&#039;s it.

I&#039;ve also added your blog to my delicious list :) CU soon!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Just wanna tell that this script worked so well for me! I only needed to add some previous filtering code and that&#8217;s it.</p>
<p>I&#8217;ve also added your blog to my delicious list :) CU soon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang Yang</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-11298</link>
		<dc:creator>Yang Yang</dc:creator>
		<pubDate>Mon, 22 Nov 2010 13:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-11298</guid>
		<description>Good point. This may help you: http://www.kavoir.com/2009/01/htaccess-deny-from-all-restrict-directory-access.html</description>
		<content:encoded><![CDATA[<p>Good point. This may help you: <a href="http://www.kavoir.com/2009/01/htaccess-deny-from-all-restrict-directory-access.html" rel="nofollow">http://www.kavoir.com/2009/01/htaccess-deny-from-all-restrict-directory-access.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-11288</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 20 Nov 2010 23:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-11288</guid>
		<description>I think I&#039;m missing something. Isn&#039;t the download file itself (at the Real File URL) on the server and viewable by anyone? So copying it to a new location, then downloading, doesn&#039;t change the fact that the orignal file is on the server and viewable by anyone.</description>
		<content:encoded><![CDATA[<p>I think I&#8217;m missing something. Isn&#8217;t the download file itself (at the Real File URL) on the server and viewable by anyone? So copying it to a new location, then downloading, doesn&#8217;t change the fact that the orignal file is on the server and viewable by anyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html/comment-page-1#comment-9917</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 25 May 2010 22:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2009/05/php-hide-the-real-file-url-and-provide-download-via-a-php-script.html#comment-9917</guid>
		<description>I know nothing about PHP, but am looking for a way to allow visitors to part of my site to download an ebook in epub format. Your script is the closest I&#039;ve come to a solution and I thank you for it. However, when the download is completed, the downloaded file receives an additional extension: instead of simply being ROE.epub (the name of the file on the server), it is downloaded as ROE.epub.html.

Any idea what is wrong? (Could it be that the $mm_type has to be set to a different value than &quot;application/octet-stream&quot;?)</description>
		<content:encoded><![CDATA[<p>I know nothing about PHP, but am looking for a way to allow visitors to part of my site to download an ebook in epub format. Your script is the closest I&#8217;ve come to a solution and I thank you for it. However, when the download is completed, the downloaded file receives an additional extension: instead of simply being ROE.epub (the name of the file on the server), it is downloaded as ROE.epub.html.</p>
<p>Any idea what is wrong? (Could it be that the $mm_type has to be set to a different value than &#8220;application/octet-stream&#8221;?)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

