Results 1 to 3 of 3
-
31st May 2011, 01:23 PM #1OPMember
Upload Plugin Creation - Wupload
Hey guys ,
I need some help with Wupload upload plugin - I need it urgently so trying a few things myself .
I got the code for RS/FS/FSC upload in the script so i was wondering if one of these hosts had nearly same process so i can only change some parts/url etc....to make it upload to wupload instead of filesonic etc....
I've been trying using some RL code from the wupload upload plugin but its kindof complicated merging a new one into the scriptso was thinking maybe updating an existing one might be easier
* Anyone got the code to callback the file urls after uploading ?viruz99 Reviewed by viruz99 on . Upload Plugin Creation - Wupload Hey guys , I need some help with Wupload upload plugin - I need it urgently so trying a few things myself . I got the code for RS/FS/FSC upload in the script so i was wondering if one of these hosts had nearly same process so i can only change some parts/url etc....to make it upload to wupload instead of filesonic etc.... I've been trying using some RL code from the wupload upload plugin but its kindof complicated merging a new one into the script :facepalm: so was thinking maybe Rating: 5
-
31st May 2011, 01:43 PM #2OPMember
Bump.....Urgent ...
-
1st Jun 2011, 06:33 AM #3MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comthis is made from the RL plugin
based on this http://www.besthostingforums.com/showthread.php?t=60261
PHP Code:<?
function wu_login($uwuuser,$uwupass,$uwucookie){
$Url = "http://www.wupload.com/";
$ref = "http://www.wupload.com/";
$page = RL_based_curl($Url,0,$uwucookie,0);
@unlink($uwucookie);
$post = array();
$post['email'] = $uwuuser;
$post['password'] = $uwupass;
$post['redirect'] = '/news';
$post['rememberMe'] = '1';
$Url = "http://www.wupload.com/account/login";
$page = RL_based_curl($Url,$post,$uwucookie,"role=anonymous; PHPSESSID=0",0,1,0);
$cookie = $page."; isJavascriptEnable=1";
is_notpresent($cookie, 'Set-Cookie: email=', 'Error in login.');
return $cookie;
}
function wu_upload($filelocation,$uwucookie,$cookie){
$ref = "http://www.wupload.com/";
$sess_id = cut_str($cookie,'PHPSESSID=',';');
$page = RL_based_curl($ref,0,$uwucookie,"http://www.wupload.com/file-manager/list");
preg_match("@uploadServerHostname = '(s\d+.wupload.com)'@i", $page, $us);
$pid = "upload_".time().rand(100,999)."_$sess_id".rand(1000,80000);
$up_loc = "http://{$us[1]}/?callbackUrl=http://www.wupload.com/upload/done/:uploadProgressId&X-Progress-ID=$pid";
$post = array();
$post['folderId'] = "0";
$post['files[]'] = "@$filelocation";
$upfiles = RL_based_curl($up_loc,$post,$uwucookie,$ref,0,1,0);
preg_match('%Location: (.*)\r%', $upfiles, $match);
$linkul = $match[1];
$page = RL_based_curl($linkul,'',$uwucookie);
if(preg_match('@"id":(\d+)@i', $page, $id)) {
$download_link = "http://www.wupload.com/file/" . $id[1];
if(preg_match('@"name":"([^"]+)"@i', $page, $fn)) {
$download_link .= "/" . $fn[1];
}
}
return $download_link;
}
?>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Remove Wupload Internal Remote Upload(Wupload to Wupload)?
By jbisana17 in forum File Host DiscussionReplies: 57Last Post: 22nd Nov 2011, 01:26 AM -
Need Wupload.com Upload RapidLeech Plugin
By Wanted in forum File Host DiscussionReplies: 29Last Post: 28th Oct 2011, 08:43 PM -
wupload upload plugin asap
By jokerhacker in forum Web Development AreaReplies: 18Last Post: 28th Oct 2011, 02:50 PM -
[Rapidleech] Wupload upload plugin is not working anymore ?
By MrCheetoDust in forum Web Application/Script SupportReplies: 4Last Post: 15th Oct 2011, 05:57 AM -
[Need] wupload.com Upload/Download Plugin
By anneloveamale in forum Webmaster ResourcesReplies: 1Last Post: 21st Aug 2011, 01:22 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...