<?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: File Download Script</title>
	<atom:link href="http://www.warkensoft.com/2006/09/file-download-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warkensoft.com/2006/09/file-download-script/</link>
	<description>PHP scripts, programs and downloads for use by webmasters around the world.</description>
	<lastBuildDate>Wed, 14 Jul 2010 20:18:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: stephanie</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-16517</link>
		<dc:creator>stephanie</dc:creator>
		<pubDate>Tue, 04 Aug 2009 18:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-16517</guid>
		<description>The filename when called from browser is case-sensitive.
so dl.php?filename=btn.JPG is totally different than 
dl.php?filename=BTN.jpg

In case any newbies can&#039;t get this script to work it is worth pointing out.</description>
		<content:encoded><![CDATA[<p>The filename when called from browser is case-sensitive.<br />
so dl.php?filename=btn.JPG is totally different than<br />
dl.php?filename=BTN.jpg</p>
<p>In case any newbies can&#8217;t get this script to work it is worth pointing out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: petter</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-13105</link>
		<dc:creator>petter</dc:creator>
		<pubDate>Wed, 21 May 2008 20:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-13105</guid>
		<description>Can&#039;t see how this script would work with files on a remote server?</description>
		<content:encoded><![CDATA[<p>Can&#8217;t see how this script would work with files on a remote server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: collector</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-11070</link>
		<dc:creator>collector</dc:creator>
		<pubDate>Wed, 21 Nov 2007 18:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-11070</guid>
		<description>Nice script, not overloaded with useless features. But...
You should escape filename in the script. Currently script opens whole site for hacker attack.
You could also add hotlinking protection, like it is done in the following script
http://www.zubrag.com/scripts/download.php

This would make your script even more powerful.</description>
		<content:encoded><![CDATA[<p>Nice script, not overloaded with useless features. But&#8230;<br />
You should escape filename in the script. Currently script opens whole site for hacker attack.<br />
You could also add hotlinking protection, like it is done in the following script<br />
<a href="http://www.zubrag.com/scripts/download.php" rel="nofollow">http://www.zubrag.com/scripts/download.php</a></p>
<p>This would make your script even more powerful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-11009</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 16 Nov 2007 11:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-11009</guid>
		<description>This small change allows for spaces in your file names.


header(&#039;Content-Disposition: attachment;filename=&quot;&#039;.$filename.&#039;&quot;&#039;);</description>
		<content:encoded><![CDATA[<p>This small change allows for spaces in your file names.</p>
<p>header(&#8216;Content-Disposition: attachment;filename=&#8221;&#8216;.$filename.&#8217;&#8221;&#8216;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-9130</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Wed, 11 Jul 2007 17:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-9130</guid>
		<description>Hi Richard,

Thanks for pointing it out.  We just upgraded to a new server and the download script was broken.  It has now been fixed.</description>
		<content:encoded><![CDATA[<p>Hi Richard,</p>
<p>Thanks for pointing it out.  We just upgraded to a new server and the download script was broken.  It has now been fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-9129</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 11 Jul 2007 17:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-9129</guid>
		<description>http://www.warkensoft.com/dl.php?filename=fileDownload.zip doesn&#039;t work</description>
		<content:encoded><![CDATA[<p><a href="http://www.warkensoft.com/dl.php?filename=fileDownload.zip" rel="nofollow">http://www.warkensoft.com/dl.php?filename=fileDownload.zip</a> doesn&#8217;t work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philippe</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-915</link>
		<dc:creator>Philippe</dc:creator>
		<pubDate>Sat, 17 Mar 2007 14:47:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-915</guid>
		<description>Hi James! Your script rocks!! works perfectly for me...

Thanks a lot!!</description>
		<content:encoded><![CDATA[<p>Hi James! Your script rocks!! works perfectly for me&#8230;</p>
<p>Thanks a lot!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Elliot</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-909</link>
		<dc:creator>Stuart Elliot</dc:creator>
		<pubDate>Sat, 10 Mar 2007 13:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-909</guid>
		<description>i have a collection of titles all go from 1 to 54

eg old download path

/Cds/1.rar
/Cds/2.rar

dl.php?filename=1.rar &#124; 2.rar &#124; 3.rar

is there anyway of randomizing the download link or somat like that.</description>
		<content:encoded><![CDATA[<p>i have a collection of titles all go from 1 to 54</p>
<p>eg old download path</p>
<p>/Cds/1.rar<br />
/Cds/2.rar</p>
<p>dl.php?filename=1.rar | 2.rar | 3.rar</p>
<p>is there anyway of randomizing the download link or somat like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karim</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-908</link>
		<dc:creator>Karim</dc:creator>
		<pubDate>Tue, 06 Mar 2007 03:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-908</guid>
		<description>Perhaps it&#039;s the PHP install? 

Server Type  	FreeBSD  	
Web Server 	Apache v1.3.37 (cgi)
PHP 	4.4.4</description>
		<content:encoded><![CDATA[<p>Perhaps it&#8217;s the PHP install? </p>
<p>Server Type  	FreeBSD<br />
Web Server 	Apache v1.3.37 (cgi)<br />
PHP 	4.4.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-907</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 06 Mar 2007 03:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-907</guid>
		<description>sorry guys... I downloaded it. installed it and it worked fine first time.

Thanks for the script!</description>
		<content:encoded><![CDATA[<p>sorry guys&#8230; I downloaded it. installed it and it worked fine first time.</p>
<p>Thanks for the script!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karim</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-878</link>
		<dc:creator>Karim</dc:creator>
		<pubDate>Wed, 21 Feb 2007 02:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-878</guid>
		<description>Thanks for the script, just wish I could get it to work. All I ever get is &quot;I&#039;m sorry, the file doesn&#039;t seem to exist.&quot;

Has anyone gotten this script to work?</description>
		<content:encoded><![CDATA[<p>Thanks for the script, just wish I could get it to work. All I ever get is &#8220;I&#8217;m sorry, the file doesn&#8217;t seem to exist.&#8221;</p>
<p>Has anyone gotten this script to work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-34</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Tue, 26 Dec 2006 18:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-34</guid>
		<description>Hey James,
Can the download path be set to a URL? I don&#039;t want to use a path because of securty issues and some of the files will be on a different server that where the script is installed. Thanks</description>
		<content:encoded><![CDATA[<p>Hey James,<br />
Can the download path be set to a URL? I don&#8217;t want to use a path because of securty issues and some of the files will be on a different server that where the script is installed. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-30</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 19 Dec 2006 18:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-30</guid>
		<description>Hey guys,

Thanks for trying the product.  I suspect that the problem you are encountering may be related to how some PHP installs handle global variables.  I&#039;ve modified the code in the download slightly to account for this.  You can also modify your own installations to use the following download path:
$download_path = $_SERVER[&#039;DOCUMENT_ROOT&#039;] . &quot;/folder_containing_files&quot;;

Thanks for letting me know about the problem.</description>
		<content:encoded><![CDATA[<p>Hey guys,</p>
<p>Thanks for trying the product.  I suspect that the problem you are encountering may be related to how some PHP installs handle global variables.  I&#8217;ve modified the code in the download slightly to account for this.  You can also modify your own installations to use the following download path:<br />
$download_path = $_SERVER['DOCUMENT_ROOT'] . &#8220;/folder_containing_files&#8221;;</p>
<p>Thanks for letting me know about the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zain</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-29</link>
		<dc:creator>Zain</dc:creator>
		<pubDate>Tue, 19 Dec 2006 17:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-29</guid>
		<description>I am having the exact same issue as Rick. It cannot find the file to be downloaded. The scrit is in the site root in a folder of its own, the files are in a seperate folder in the root as well (for purposes of testing the script), so the path should be:

$download_path = &quot;$DOCUMENT_ROOT/folder_containing_files&quot;;

The files in the secure folder are such as:
newsletter.pdf
somearchive.zip

What are we doing wrong here? Please help.

Thanks</description>
		<content:encoded><![CDATA[<p>I am having the exact same issue as Rick. It cannot find the file to be downloaded. The scrit is in the site root in a folder of its own, the files are in a seperate folder in the root as well (for purposes of testing the script), so the path should be:</p>
<p>$download_path = &#8220;$DOCUMENT_ROOT/folder_containing_files&#8221;;</p>
<p>The files in the secure folder are such as:<br />
newsletter.pdf<br />
somearchive.zip</p>
<p>What are we doing wrong here? Please help.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick McCoy</title>
		<link>http://www.warkensoft.com/2006/09/file-download-script/comment-page-1/#comment-22</link>
		<dc:creator>Rick McCoy</dc:creator>
		<pubDate>Thu, 07 Dec 2006 22:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.warkensoft.com/2006/09/file-download-script/#comment-22</guid>
		<description>I&#039;m trying out your dl.php script but having problems. Will not find file. I&#039;ve hard-coded the location to be sure. Simply tells me the file doesn&#039;t exist. Any suggestions?

www.ChristianImageLibrary.com/dl.php?filename=frost.zip</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying out your dl.php script but having problems. Will not find file. I&#8217;ve hard-coded the location to be sure. Simply tells me the file doesn&#8217;t exist. Any suggestions?</p>
<p><a href="http://www.ChristianImageLibrary.com/dl.php?filename=frost.zip" rel="nofollow">http://www.ChristianImageLibrary.com/dl.php?filename=frost.zip</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
