Results 1 to 3 of 3
Hybrid View
-
20th Oct 2012, 10:22 AM #1OPMemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comPHP 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);
PHP Code:$fi = randoms(43);
$fpost = array();
$fpost["name"] = $fi;
$fpost["file"] = "@".$filelocation;
$page = curl_func_sharedbit($upurl,$fpost,$cookie,$ref);
Code:{"jsonrpc" : "2.0", "result" : null, "id" : "id"}
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
-
20th Oct 2012, 10:43 AM #2Respected MemberWebsite's:
DL4Everything.com Soft2050.inYou 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
-
20th Oct 2012, 11:38 AM #3OPMemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comThanks, i already had that but i forgot the id field.
Thanks again
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Buying] php cURL upload function only
By hihotfile in forum Marketplace (Buy, Sell and Trade)Replies: 1Last Post: 23rd Sep 2012, 02:27 PM -
[PHP] Turbobit.net Upload Function
By Halcyon in forum Web Development AreaReplies: 9Last Post: 10th Feb 2012, 09:59 AM -
Bayfiles.com RL upload plugin & function
By CJ in forum Web Development AreaReplies: 16Last Post: 1st Feb 2012, 06:39 PM -
Freakshare upload function issue
By t3od0r in forum Web Development AreaReplies: 5Last Post: 30th Jan 2012, 11:26 AM -
[Buying] PHP Mediafire upload function
By somik in forum Completed TransactionsReplies: 0Last Post: 15th Apr 2011, 02:35 AM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...