RW::Download 4.0
+ Install Documentation  

Upgrading

If you are upgrading from a previous version of RW::Download then please click here. Otherwise follow the instructions below to install a fresh database.

Installation

To correctly install RW::Download on your server follow the steps below.
Note PHP4.1 or higher and MySQL is required to be installed and correctly configured on your server before RW::Download can be installed.

1. Upload all the files in UPLOAD to your server http root folder [often named "www", "httpdocs" or "public_html"]. We recommend you upload all the files to a folder of its own eg. "www/download/" This is not essential however it is crucial that the file structure contained in the zip file is maintained or errors will be generated.

2. CHMOD the following files and folders:

- "www" - your server root folder
- + "download" - your script root - CHMOD 0777
- - + "temp" - CHMOD 0777

- - + "downloads" - CHMOD 0777
- - + "functions"
- - + "images"
- - + "lang" - CHMOD 0777
- - - + "1" - CHMOD folder and all files in folder to 0777
- - + "skins" - CHMOD 0777
- - - + "skin1" - CHMOD folder and all files in folder to 0777

- - - "globalvars.php" - CHMOD 0777

You should also be able to chmod these files to 0666 if you prefer or have problems with 0777.
If you are unsure how to CHMOD these files and folders then search the internet for "chmod". Common FTP clients such as WS_FTP and Cute_FTP allow you to CHMOD files and directories. See your ftp manual/help files for more information. [only required for UNIX servers]

3. Go to www.yourwebsite.com/download/install.php and complete the install steps filling in the forms as requested. Please read the instructions of the install carefully as it can save problems later.

4. Upon successful completion of the install process DELETE THE "install.php" FILE FROM YOUR SERVER! Although the install file attempts to lock itself after install it is still more secure if you remove the file completly. The lock will also sometimes fail to create if the script root is not writeable

5. Access the admin interface next by going to www.yourwebsite.com/download/admin.php and enter the username and password you specified during the install process.

6. Open the settings page in the admin panel and change the settings to your own tastes.

7. Add a category first. You can not add downloads if you do not have a category to put them in. Downloads can not be added to the "Home" category.

8. Done :)

Website Tools

RW::Download now comes with an extra file - stats.php for easy website integration features. The file contains 3 functions for displaying "top stats". To use these stats, type the following into a .php file:

<?php
  readfile ("http://www.yourwebsite.com/download/stats.php?ACT=XXX&limit=Y");
?>

Just replace yourwebsite.com with your own website url
Replace XXX with one of the following:

topdl - displays the most downloaded files
toprate - displays the higest rated files
latest - displays the latest added files

Replace Y with the number of items you wish to display
You may also change $ROOT_PATH to the full path to your downloads
folder if you have problems running this script

Support

All support requests are handled via our forum no technical support is available to lite users via any other method.