Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 07:01:14 07:01


Login with username, password and session length


Pages: [1]
Print
Author Topic: Rapidshare Premium Link Generator Script  (Read 1671 times)
0 Members and 1 Guest are viewing this topic.
Leonardo
Active Member
***
Offline Offline

Posts: 164

Thank You
-Given: 10
-Receive: 63


« on: December 27, 2007, 12:13:54 00:13 »

Hw to Install
 
1.Extract the archive files and upload to your server.

2.Create database and Run SQL Query Below:
Code:
   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. 
Code:
<?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. 
Code:
   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
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 604

Thank You
-Given: 111
-Receive: 1060



« Reply #1 on: December 27, 2007, 09:35:49 09:35 »

Can you please do more explication about creating database and Running SQL. and where should i create this database ??
Logged
tantino
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 6
-Receive: 1


« Reply #2 on: January 25, 2008, 05:40:54 17:40 »

Ahmad_k if your on a linux host, have a look at phpMyAdmin, this makes executing mySQL statements easy.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC