Rapidshare Premium Link Generator Script

Started by DarkGenesis, 04 de July , 2007, 02:04:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DarkGenesis


Rapidshare Premium Link Generator Script | 21KB

QuoteHw 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'&#93;     = 'mysql';
$INFO['sql_host'&#93;       = 'localhost';
$INFO['sql_database'&#93;   = 'your dbname'; // db name
$INFO['sql_user'&#93;       = 'your dbuser''; // username db
$INFO['sql_pass'&#93;       = 'your dbpasword';// passwsord db
$INFO['base_url'&#93;       = 'http&#58;//www&#46;yourdomain&#46;com/index&#46;php'; //The link to this script
$INFO['premium_act'&#93;    = '1'; //You should change this number according to the account id number found it the database&#46;
$INFO['serverload'&#93;     = '50'; //Disable download when server load equal this value&#46;
$INFO['dl_limit_perday'&#93;= '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%]

[ Download ] - [ Mirror ]

#phobia

lol

Legal velho, assim que tiver um tempinho vou fazer isso ae pra ver neh...

Vlw!!!