Activity Stream
48,167 MEMBERS
6771 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Banned
    Website's:
    Seecure.me

    Default [PHP] FileSonic Premium Downloader Script

    Because LT want's to ruin my sales, I'll release it for free

    [PHP] FileSonic Premium Downloader Script

    Code: 
    <?php
    error_reporting(0);
    /**
    * Author: Vick@PHPCanyon.net
    * Site  : www.PHPCanyon.net
    * Date  : 7/12/2011
    */
    // must have prem account.
    // Enter your FS prem user/email/pass here.
    $email = "emailhere";
    $password = "passwordhere";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'http://api.filesonic.com/user?method=getInfo&u='.$email.'&p='.$password);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, 0);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $result = curl_exec($ch);
    curl_close($ch);
    $urls = array(
        // Enter your URL here.
        $_GET['link']
    );
    $regex = '|/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?$|';
    foreach($urls AS $url) {
        $matches = array();
        preg_match($regex, $url, $matches);
        if (!isset($matches[1])) continue;
        $link = 'http://api.filesonic.com/link?method=getDownloadLink&u='.$email.'&p='.$password.'&ids=' . str_replace('/', '-', $matches[1]) . "\n";
    }
    $cj = curl_init();
    curl_setopt($cj, CURLOPT_URL, $link);
    curl_setopt($cj, CURLOPT_RETURNTRANSFER, 1);
    $downloadlink = curl_exec($cj);
    curl_close($cj);
    $getDLlink = '/url":"(.+?)"}/';
    preg_match($getDLlink, $downloadlink, $match);
    $link = $match[1];
    $newLink = str_replace('\\', "", $link);
    $maskedLink = file_get_contents("http://************/api-create.php?url=$newLink");
    if($_GET['link']=="")
    {
    }
    else{
    echo '<a href="'.$maskedLink.'">Download</a>';
    }
    ?>
    <!doctype html>
    <html lang="en">
    <head>
      <meta charset="utf-8">
      <title>FileSonic Premium Downloader</title>
      <meta name="description" content="PHP FileSonic Premium Downloader Script">
      <meta name="author" content="Vick Kumar">
      <meta name="website" content="forum.phpcanyon.net">
      <!--[if lt IE 9]>
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
      <![endif]-->
    </head>
    <body>
      <form action="fs_prem.php" method="get">
      Enter FileSonic Download Link : <input type="text" name="link" size="50" />
      <input type="submit" value="Download" />
      </form>
    </body>
    </html>
    Original Post @ PHPCanyon
    _Vick Reviewed by _Vick on . [PHP] FileSonic Premium Downloader Script Because LT want's to ruin my sales, I'll release it for free <3 FileSonic Premium Downloader Script <?php error_reporting(0); /** * Author: Vick@PHPCanyon.net * Site : www.PHPCanyon.net Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Script doesn't work anymore btw. Gonna try to fix it (I doubt I can).

  4.     
    #3
    Banned
    Website's:
    HotWallpapers.me AustraliaFlood.net VirtualUpload.net

  5.     
    #4
    Member
    Quote Originally Posted by ThumperTM View Post
    Save the script as fs_prem.php

    But that is not the core problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PHP] Filesonic Premium Link Generator/Downloader
    By Lifetalk in forum Web Development Area
    Replies: 12
    Last Post: 6th Feb 2012, 10:35 AM
  2. [Selling] Selling Premium link generator script ( RS, Filesonic, Wupload, Fielserve, MU )
    By santanu18 in forum Completed Transactions
    Replies: 52
    Last Post: 2nd Dec 2011, 11:53 PM
  3. which file downloader to use for wupload&filesonic
    By colie in forum File Host Discussion
    Replies: 8
    Last Post: 20th Aug 2011, 06:27 PM
  4. [Buying] FileSonic Premium Link Generator Script
    By bulls in forum Completed Transactions
    Replies: 4
    Last Post: 16th Aug 2011, 05:06 AM
  5. Need a Filesonic or fileserve premium link generator SCRIPT
    By dawinet in forum Webmaster Resources
    Replies: 9
    Last Post: 15th Aug 2011, 10:40 PM

Tags for this Thread

BE SOCIAL