Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 202
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 175
Total: 175

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - knat

Pages: [1]
1
Ok so it does not support it - to bad - thanks anyway, looks like a great piece of software :)

2
Hello

I am thinking of buying your software but i have questions.

I want to sell files that are hosted on rapidshare but buyers dont need a Rapidshare account to download them.
Rapidshare has a system where i can pay for what others download. Supports up to 2 Gb filesize.

Its called Secure Traffic share. And here is some information about it:



What is Secure TrafficShare?
With secure TrafficShare, you have the ability to limit the period in which files are available for downloading.
The expiry date of the download link is set by you. In this way, you can control for how long the file can be retrieved.
Secure TrafficShare enables you to make files available for downloading in a secure area of your website.
You have to have knowledge of programming to use this feature. 

How is the TrafficShare link made secure?
Change the relevant file into a secured TrafficShare file in your Premium Zone.
Create the download link as shown in the examples.
When calculating the expiry date, please note that in all cases our server time has to be used. You can see the current server time in the Premium Zone. If your local time is different, the programer has to take it into consideration and make the adjustments.

Example of a code in PERL for the creation of a secure TrafficShare link:
Example of normal download link: http://rapidshare.com/12345678/yourfile.zip

Code: [Select]
#!/usr/bin/perl
use strict;
use warnings;
use Digest::MD5("md5_hex");

my $premiumaccount = "12345";     # Insert Premium Account ID
my $fileid = "12345678";          # Insert File ID
my $filename = "yourfile.zip";    # Insert file name
my $killcode = "123456789012345"; # File Killcode. The Killcode can be viewed in the Premium Zone under "Export Details"
my $validuntil = time + 300;      # Effective for 300 seconds from now on
my $md5hex = md5_hex("$premiumaccount,$fileid,$killcode,$validuntil");

print "Secured link is: http://rapidshare.com/files/$fileid/t$validuntil-$md5hex/$filename";
                   
Example of a code in PHP for the creation of a secure TrafficShare link:
Example of normal download link: http://rapidshare.com/12345678/yourfile.zip

                   

Code: [Select]
<?
$premiumaccount = "12345";     // Insert Premium Account ID
$fileid = "12345678";          // Insert File ID
$filename = "yourfile.zip";    // Insert file name
$killcode = "123456789012345"; // File Killcode. The Killcode can be viewed in the Premium Zone under "Export Details"
$validuntil = time() + 300;    // Effective for 300 seconds from now on
$md5hex = md5($premiumaccount.",".$fileid.",".$killcode.",".$validuntil);

print "Secured link is: http://rapidshare.com/files/$fileid/t$validuntil-$md5hex/$filename";
?>
                   

Your program code should not be visible to others. For instance, a download link that is valid for 3 years could be created or the file could be deleted because the "Killcode" is included. If you offer the facility to generate download links on your website, you should under no circumstances program the process in JavaScript or any other client-side scripting language.

What time applies to the secure TrafficShare link?
The expiry date is calculated on our server. Thus the expiry date has to be based on the server time of RapidShare.
The current server time can be seen in the Premium Zone under "Overview".
Adjust the calculation of the time by adding or subtracting the difference between your local time and our server time.
If you are unsure, you can test the code by generating a link and accessing it before, and after the expected expiry time. 



Source: http://rapidshare.com/faq6.html

So my question is can i use the store to sell these links that will only work for a limited time ?

3
Modifications Talk / Re: Staff Mod
« on: June 01, 2007, 08:59:28 am »
Admin -> Edit Features Options I belive there is an option on a page to filter a staff list.

Yes it wont work for me... nothing happens when i put in 1,2,4,6,7,8 etc - Thats why i am asking for that piece of code to not show usergroup 12 on the list.. i hope you can help  ???

4
Modifications Talk / Re: Staff Mod
« on: June 01, 2007, 07:38:31 am »
I dont think i have the latest.. there is only an option to sort.. and that does nothing.. now i really dont want to start uninstall/install something that works.. so can u please provide me with a simple code that i can insert to make it not show membergroup 12.. i will be in my happy place the rest of the day if you have such code  ;)

5
Modifications Talk / Re: Staff Mod
« on: June 01, 2007, 07:19:11 am »
I use this staff page and all my usegroups are staff except one.. that is chartermembers.. how do i exclude 1 membergroup from showing up on the list ??

I tried the "Sort staffpage option" in admin panel but it did nothing.. so any litlle piece of code i can insert to the template to make it skip membergroup # 12 ??

Thanks for the mod, and thanks to anyone who will help me with this  :)

Pages: [1]

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal