Has anyone got a wupload code for the php uploader vanilla ?
I had a go at coding it myself but wupload has popup box's for the upload and i dont know how to do that part.
Thanks

Here is the fileserve one on the php uploader:
PHP Code: 
function uploadtofs($filelocation$ufscookie)
{
    
$page fscurl("http://www.fileserve.com/"""$ufscookie);
    
preg_match('#id="serverId" value="(.*)" />#'$page$match);
    
preg_match('#id="userId" value="(.*)" />#'$page$match1);
    
preg_match('#id="uploadHostURL" value="(.*)"/>#'$page$match2);
    
$serverId $match[1];
    
$userId $match1[1];
    
$uploadHostURL $match2[1];
    
$page fscurl("http://fileserve.com/upload-track.php"""$ufscookie);
    
preg_match('#{"sessionId":"(.*)"}#'$page$match);
    
$uploadSessionId $match[1];
    
$postfields = array();
    
$postfields['affiliateId'] = "";
    
$postfields['subAffiliateId'] = "";
    
$postfields['landingId'] = "";
    
$postfields['file'] = "@$filelocation";
    
$postfields['serverId'] = $serverId;
    
$postfields['userId'] = $userId;
    
$postfields['uploadSessionId'] = $uploadSessionId;
    
$postfields['uploadHostURL'] = $uploadHostURL;
    
fscurl("http://$uploadHostURL/upload/upload.php?X-Progress-ID=$uploadSessionId"$postfields$ufscookie);
    
$postfields = array();
    
$postfields['uploadSessionId[]'] = $uploadSessionId;
    
$page fscurl("http://www.fileserve.com/upload-result.php"$postfields$ufscookie);
    
preg_match_all('#<textarea name="textarea2" id="textarea1" rows="3" cols="60" width="500px" readonly >(.*)#'$page$match);
    
$downloadlink trim($match[1][0]);
    return 
$downloadlink;

and

PHP Code: 
if (in_array("fileserve"$hosts))
{
    echo 
'<br />Uplaoding files to Fileserve .... <br />';
    
flush();
    if (
file_exists($ufscookie))
    {
        
unlink($ufscookie);
    }
    
curl($fslogin$ufspostdata$ufscookie);
    foreach (
$filelist as $file)
    {
        
$filelocation $filespath $file;
        
$downloadlink uploadtofs($filelocation$ufscookie);
        echo 
'<strong>' $downloadlink '</strong>';
        echo 
'<br />';
        
flush();
    }

Not sure if this is what i have to do for wupload also but the other ones for hotfile and things are alot smaller.
_brazzO Reviewed by _brazzO on . Wupload plugin PHP Uploader Has anyone got a wupload code for the php uploader vanilla ? I had a go at coding it myself but wupload has popup box's for the upload and i dont know how to do that part. Thanks Here is the fileserve one on the php uploader: function uploadtofs($filelocation, $ufscookie) { $page = fscurl("http://www.fileserve.com/", "", $ufscookie); preg_match('#id="serverId" value="(.*)" />#', $page, $match); preg_match('#id="userId" value="(.*)" />#', $page, $match1); Rating: 5