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

Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com

    Default PHP Upload function for sharedbit.net help

    I am trying to make an upload function for https://sharedbit.net/

    i get the upload url from

    PHP Code: 
    $page curl_func_sharedbit("https://sharedbit.net/upload-process/upurl",'',$cookie,$ref,0); 
    and post to

    PHP Code: 
    $fi randoms(43);
        
    $fpost = array();
        
    $fpost["name"] = $fi;
        
    $fpost["file"] = "@".$filelocation;
        
        
    $page curl_func_sharedbit($upurl,$fpost,$cookie,$ref); 
    response is

    Code: 
    {"jsonrpc" : "2.0", "result" : null, "id" : "id"}
    what i am missing here?
    t3od0r Reviewed by t3od0r on . PHP Upload function for sharedbit.net help I am trying to make an upload function for https://sharedbit.net/ i get the upload url from $page = curl_func_sharedbit("https://sharedbit.net/upload-process/upurl",'',$cookie,$ref,0); and post to $fi = randoms(43); $fpost = array(); Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    You are going on all right, the result you are getting is the same which i am getting from browser.
    To get the url, you need to send another request to: https://sharedbit.net/upload-process/completed
    And post this data there:

    PHP Code: 
    server=$upurl&folder=0&files[0][id]=$fi&files[0][name]=filename of file uploading with extension&files[0][size]=filesize in bytes&files[0][loaded]=filesize in bytes&files[0][percent]=100&files[0][status]=5&files[0][target_name]=$fi extension of the file 
    It should return the information about file link, delete link and other info

  4.     
    #3
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    Thanks, i already had that but i forgot the id field.

    Thanks again

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Buying] php cURL upload function only
    By hihotfile in forum Marketplace (Buy, Sell and Trade)
    Replies: 1
    Last Post: 23rd Sep 2012, 02:27 PM
  2. [PHP] Turbobit.net Upload Function
    By Halcyon in forum Web Development Area
    Replies: 9
    Last Post: 10th Feb 2012, 09:59 AM
  3. Bayfiles.com RL upload plugin & function
    By CJ in forum Web Development Area
    Replies: 16
    Last Post: 1st Feb 2012, 06:39 PM
  4. Freakshare upload function issue
    By t3od0r in forum Web Development Area
    Replies: 5
    Last Post: 30th Jan 2012, 11:26 AM
  5. [Buying] PHP Mediafire upload function
    By somik in forum Completed Transactions
    Replies: 0
    Last Post: 15th Apr 2011, 02:35 AM

Tags for this Thread

BE SOCIAL