Hw to Install
1.Extract the archive files and upload to your server.
2.Create database and Run SQL Query Below:
CREATE TABLE `accounts` (
`id` int(10) NOT NULL auto_increment,
`login` varchar(150) collate latin1_general_ci NOT NULL default '',
`password` varchar(150) collate latin1_general_ci NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
CREATE TABLE `logs` (
`fid` int(10) NOT NULL auto_increment,
`filename` varchar(200) collate latin1_general_ci NOT NULL default '',
`fdate` varchar(150) collate latin1_general_ci NOT NULL default '',
`ip` varchar(150) collate latin1_general_ci NOT NULL default '',
`furl` varchar(150) collate latin1_general_ci NOT NULL default '',
`filesize` varchar(150) collate latin1_general_ci NOT NULL default '',
PRIMARY KEY (`f_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
3.Edit file config.php on your favourite editor,I prefer use notepad.
<?php
$INFO['sql_driver'] = 'mysql';
$INFO['sql_host'] = 'localhost';
$INFO['sql_database'] = 'your dbname'; // db name
$INFO['sql_user'] = 'your dbuser''; // username db
$INFO['sql_pass'] = 'your dbpasword';// passwsord db
$INFO['base_url'] = 'http://www.yourdomain.com/index.php'; //The link to this script
$INFO['premium_act'] = '1'; //You should change this number according to the account id number found it the database.
$INFO['serverload'] = '50'; //Disable download when server load equal this value.
$INFO['dl_limit_perday']= '3'; //How many link can a user download per day 0 = unlimited;
?>
4.Save and upload config.php to your server.
6.Assuming you still on phpMyAdmin,run this SQL Query to insert your rapidshare premium account.
INSERT INTO `accounts` ( `login` , `password` ) VALUES ( 'your rapidshare login account' , 'your rapidshare password account');
5.Point your url on browser and enjoy.
6.If you have time just make your template is more great.
[Works 100%]
http://w13.easy-share.com/1405981.html