File Download Script

Created by WarkenSoft Productions
http://www.warkensoft.com

Copyright 2005

A. INTRODUCTION TO THE FILE DOWNLOAD SCRIPT

Thank you for purchasing the File Download Script from WarkenSoft Productions.  This script
will allow you to give your website users access to downloading files of your choice off your
web server, without having to store the files directly in the website.  In other words, you 
can serve the files from an alternate, possibly more secure location.

B. FEATURES

	- Grant access for your users to download files from alternate locations.

C. INSTALLATION INSTRUCTIONS

	1. Please ensure that your ISP or website host allows for PHP scripts to be run on 
	their server.  If they don't, none of these scripts will work properly, if at all.
	You may be able to ask your ISP or website host to install this functionality.
	Typically, most hosting solutions already have this functionality installed.

	2. Unzip these files and upload them to a subdirectory on your server.
	
	3. Open the 'dl.php' file in your favorite text editor and make the
	necessary changes as indicated in that file.  There is one variable which
	you will need to change.
	
	4. Once this file has been changed, upload it into the same place where you
	previously uploaded the other files.  At this point, you should be set to begin
	using this script.

D. SETTING UP THE DOWNLOAD DIRECTORY

	Once you have uploaded the script to the appropriate location, you can proceed to build
	the list of files you wish people to be able to download.  You'll probably want to 
	build that list somewhere other than in the site root.  After all, that's the point of
	this script, right?  You CAN categorize the files in subfolders, as long as when you
	call them from the site, you indicate the subfolder as well.

E.  CALLING THE DOWNLOAD SCRIPT FROM THE BROWSER

	Now, in order to use the File Download Script, all you have to do is enter the path to
	the script in your browser (ie. www.yourdomain.com/fileDownload/dl.php), followed by a
	question mark, and the assignment of the file name to a "filename" variable.

	Full Example:  http://www.yourdomain.com/fileDownload/dl.php?filename=myFile.zip
	Or:	http://www.yourdomain.com/fileDownload/dl.php?filename=mySubDirectory/myFile.zip

F. ADDITIONAL QUESTIONS

	If you have additional questions regarding this product which have not been answered 
	here, feel free to contact us at webmaster@warkensoft.com
	