Script Configuration

From .:Rapidleech Wiki:.

Jump to: navigation, search

There are several parameters you can set in the configs folder.


Contents

Setting up a default premium account (rapidshare example)

Open accounts.php from configs/ folder

Find:

//$premium_acc["rapidshare_com"] = array('user' => 'your username', 'pass' => 'your password'); # Remove '//' from the beginning and enter your username and password for rapidshare.com premium account

Replace with (you are basically removing the two slashes from the start of the line):

$premium_acc["rapidshare_com"] = array('user' => 'your username', 'pass' => 'your password'); # Remove '//' from the beginning and enter your username and password for rapidshare.com premium account

Now replace your username and your password with your own details, but make sure they are put between apostrophes ('text here'), like as in the examples above.

You must also add a secretkey (max length: 56) to protect your premium cookies and accounts in:

$secretkey = '';

For example:

$secretkey = '159357';

Finally, save the accounts.php file and enjoy your premium experience lol. :)

Display CPU, Memory and Time info

Open config.php from configs/ folder

Find:

$server_info = false;

Replace with:

$server_info = true;

Now you have a fancy server info in the index.php page!

Automatically rename existing files in server

Open config.php from configs/ folder

Find:

$bw_save = false;

Replace with:

$bw_save = true;

Now when you download files that already exists, it will be automatically renamed!

How to automatically rename files by adding text in front or behind the filename

Open config.php from configs/ folder

Find:

$rename_prefix = ''; //i.e : prefix_filename.ext
$rename_suffix = ''; //i.e : filename_suffix.ext

Add your prefix (rename in front) or suffix (rename at the end) to rename the files downloaded!

Personal tools