网络实验室

 找回密码
 注册账户
查看: 2634|回复: 1

生成Rapidshare付费链接代码 『已经翻译过了』

[复制链接]
无心的棋子 发表于 2007-7-22 02:40:03 | 显示全部楼层 |阅读模式
Rapidshare Premium Link Generator

1.Extract the archive files and upload to your server.  
上传附件到你的空间里

2.Create database and Run SQL Query Below:
Код:
新建数据库 运行下面的语句
  1. CREATE TABLE `accounts` (
  2. `id` int(10) NOT NULL auto_increment,
  3. `login` varchar(150) collate latin1_general_ci NOT NULL default '',
  4. `password` varchar(150) collate latin1_general_ci NOT NULL default '',
  5. PRIMARY KEY (`id`)
  6. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;

  7. CREATE TABLE `logs` (
  8. `fid` int(10) NOT NULL auto_increment,
  9. `filename` varchar(200) collate latin1_general_ci NOT NULL default '',
  10. `fdate` varchar(150) collate latin1_general_ci NOT NULL default '',
  11. `ip` varchar(150) collate latin1_general_ci NOT NULL default '',
  12. `furl` varchar(150) collate latin1_general_ci NOT NULL default '',
  13. `filesize` varchar(150) collate latin1_general_ci NOT NULL default '',
  14. PRIMARY KEY (`f_id`)
  15. ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
复制代码

特别注意 mysql5不支持f_id的特殊字符 请修改为 fid 把附件里的部分文件也改下
3.Edit file config.php on your favourite editor,I prefer use notepad.
编辑 config.php文件 修改成为你的 然后保存
Код:
  1. <?php
  2. $INFO['sql_driver'] = 'mysql';
  3. $INFO['sql_host'] = 'localhost';
  4. $INFO['sql_database'] = 'your dbname'; // db name
  5. $INFO['sql_user'] = 'your dbuser''; // username db
  6. $INFO['sql_pass'] = 'your dbpasword';// passwsord db
  7. $INFO['base_url'] = 'http://www.yourdomain.com/index.php'; //The link to this script
  8. $INFO['premium_act'] = '1'; //You should change this number according to the account id number found it the database.
  9. $INFO['serverload'] = '50'; //Disable download when server load equal this value.
  10. $INFO['dl_limit_perday']= '3'; //How many link can a user download per day 0 = unlimited;
  11. ?>
复制代码

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.
Код:
在PHPMYADMIN里运行下列语句 把登录用户名改为你的
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.

OK了  其它的自己看
wyk 发表于 2007-7-22 14:12:47 | 显示全部楼层
http://www.labs.net.cn/thread-27534-1-1.html

怎么二個呀
您需要登录后才可以回帖 登录 | 注册账户

本版积分规则

黑屋|存档|手机|网络实验室 本站服务器由美国合租以及IDCLayer国际数据提供!!!

GMT+8, 2024-5-5 09:15 , Processed in 0.068631 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表