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

Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1.     
    #11
    Member
    I upload to RS automatically with script

  2.   Sponsored Links

  3.     
    #12
    The Wise One
    Website's:
    twilight.ws ddlrank.com
    When you upload using the API it returns the full url to the file you just uploaded. You have to save this in a database on your end if you want to search for it/use it later on.

  4.     
    #13
    Member
    Whoo
    yes, it's saved to txt file, but I thought it's easier to get it from site...

  5.     
    #14
    Member
    Website's:
    WarezRocker.info Share4U.org Imdb.WarezRocker.info DownTurko.org Host-Palace.com HeroTurko.pro
    just add a email function so that you can get download link in email.check this thread,here i have added rs upload with email function.

    Code: 
    http://www.besthostingforums.com/92-development-area/144230-vbulletin-autobackup-autoupload-solution.html

  6.     
    #15
    Member
    Website's:
    epicimagehost.com
    Have a nice day

    Non-noob:
    PHP Code: 
    <?php
        
    ############################
        #    RapidShare search shit#
        ############################
        # by Robin Houtevelts      #
        #  robin@houtevelts.com    #
        ############################
        
    function http($url,$post false){
            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL$url);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            if(!empty(
    $post)){
                
    curl_setopt($chCURLOPT_POSTtrue);
                
    curl_setopt($chCURLOPT_POSTFIELDS$post);
            }
            
            
    $return curl_exec($ch);
            if(
    $output === false)
                
    $return 'ERROR: '.curl_error($ch);
                
            
    curl_close($ch);
            return 
    trim($return);
        }
        
        
    $username 'username';
        
    $password 'password';
            
        
    $title trim($_GET['title']);
        
        
    $apidata = array(
            
    'sub' => 'listfiles',
            
    'filename' => $title,
            
    'fields' => 'filename',
            
    'login' => $username,
            
    'password' => $password
        
    );
        
        
    $apireturn http('https://api.rapidshare.com/cgi-bin/rsapi.cgi',$apidata);

        if(
    strpos($apireturn,'ERROR') === TRUE){
            echo 
    $apireturn;
            exit;
        }
        if(
    $apireturn == 'NONE'){
            echo 
    'File not found';
            exit;
        }
        
        
    $files explode("\n",$apireturn);
        
    $urls = array();
        
        foreach(
    $files as $file){
            
    $file explode(',',$file);
            list(
    $fileID,$filename) = $file;
            
    $urls[] = 'https://rapidshare.com/files/'.$fileID.'/'.$filename;
        }
        
        
    $urls implode("\n",$urls);
        
        echo 
    $urls;
    ?>
    Noob-version ( HTML'd ):
    PHP Code: 
    <?php
        
    ############################
        #    RapidShare search shit#
        ############################
        # by Robin Houtevelts      #
        #  robin@houtevelts.com    #
        ############################
        
    function http($url,$post false){
            
    $ch curl_init();
            
    curl_setopt($chCURLOPT_URL$url);
            
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
            if(!empty(
    $post)){
                
    curl_setopt($chCURLOPT_POSTtrue);
                
    curl_setopt($chCURLOPT_POSTFIELDS$post);
            }
            
            
    $return curl_exec($ch);
            if(
    $output === false)
                
    $return 'ERROR: '.curl_error($ch);
                
            
    curl_close($ch);
            return 
    trim($return);
        }
        
        
    $username 'username';
        
    $password 'password';
    ?>
    <html>
        <head></head>
        <body>
    <?php
        
    if(empty($_GET['title'])){
    ?>

            <form action="" method="GET">
                <input type="text" name="title" />
                <input type="submit" value="Search" />
            </form>
    <?php
        
    }else{
            
        
    $title '%'.trim($_GET['title']).'%';
        
        
    $apidata = array(
            
    'sub' => 'listfiles',
            
    'filename' => $title,
            
    'fields' => 'filename',
            
    'login' => $username,
            
    'password' => $password
        
    );
        
        
    $apireturn http('https://api.rapidshare.com/cgi-bin/rsapi.cgi',$apidata);

        if(
    strpos($apireturn,'ERROR') === TRUE){
            echo 
    $apireturn;
            exit;
        }
        if(
    $apireturn == 'NONE'){
            echo 
    'File not found';
            exit;
        }
        
        
    $files explode("\n",$apireturn);
        
    $urls = array();
        
        foreach(
    $files as $file){
            
    $file explode(',',$file);
            list(
    $fileID,$filename) = $file;
            
    $urls[] = 'https://rapidshare.com/files/'.$fileID.'/'.$filename;
        }
        
        
    $urls implode("\n",$urls);
    ?>
        <textarea><?php echo $urls;?></textarea>
    <?php
        
    }
    ?>
        </body>
    </html>

  7.     
    #16
    Member
    Thank you!

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Generate Linkbucks link using curl?
    By dewaforex in forum Web Development Area
    Replies: 2
    Last Post: 19th May 2012, 04:53 AM
  2. Stream download link to user using CURL
    By santanu18 in forum Technical Help Desk Support
    Replies: 2
    Last Post: 8th Dec 2011, 04:44 AM
  3. [Help] PHP Curl Uploader to RapidShare Problem
    By heppinnz in forum Web Development Area
    Replies: 2
    Last Post: 29th Nov 2011, 06:28 AM
  4. Premium link generator for fileserve using cURL - error
    By nummi in forum Web Development Area
    Replies: 1
    Last Post: 12th Sep 2011, 07:18 PM
  5. Help with Uploading.com batch Link Checker and Curl ..
    By Lock Down in forum Webmaster Resources
    Replies: 9
    Last Post: 3rd Dec 2010, 02:31 AM

Tags for this Thread

BE SOCIAL