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

Results 1 to 2 of 2
  1.     
    #1
    Member

    Unhappy [Help] Having problem in Megaupload upload plugin - Code Inside

    Hello,

    I am having problem in megaupload upload plugin. It is uploading the file but not to my account. you can say its in air.
    It seems to be more cookie, temp file problem.
    muUser and muPass are saved in accounts.php

    Problem:

    Its not making temp file in /temp/mu.ul"
    code: $muCookie = $dirname(__FILE__)."/temp/mu.ul";

    Logs:
    Uploading to Megaupload

    Notice: Undefined variable: dirname in /var/www/html/phpuploader/include/functions.php on line 4
    Megaupload upload plugin:

    function uploadMU($fileup) {
    global $muUser; global $muPass;
    $linksMU = array();
    $muCookie = $dirname(__FILE__)."/temp/mu.ul";
    //Login module
    $post = array();
    $post['login'] = '1';
    $post['username'] = $muUser;
    $post['password'] = $muPass;

    $url = "http://megaupload.com/?c=account";

    $page = postHost($url, $post, $muCookie);

    foreach ($fileup as $value) {
    //Upload module
    $page = postHost("http://megaupload.com/",'',$muCookie);

    $server = cut_str($page, 'flashvars.server = "','";');
    $s = rndNum(6);
    $rand = rndNum(21);
    $ID= '0'.time().$rand;
    $upload_form = $server."upload_done.php?UPLOAD_IDENTIFIER=$ID&use r=undefined&s=$s";
    $url = $upload_form;

    echo "Debug : Upload url =>".$url;
    //Add description here
    $mu_desc = "Default description";

    $fpost = array();
    $fpost["Filename"] = basename($value);
    $fpost["message"] = $mu_desc;
    $fpost["trafficurl"] = 'undefined';
    $fpost["user"] = 'undefined';
    $fpost["hotlink"] = '0';
    $fpost["Upload"] = 'Submit Query';
    $fpost["Filedata"] = "@".$value;

    $upfiles = postHost($url,$fpost,$muCookie);

    preg_match('/downloadurl *= *\'(.*?)\'/i', $upfiles, $dllink);

    if($dllink[1]){
    $download_link = $dllink[1]."&name=".basename($value);
    $nameoffile = str_replace("rared/", "", $value);
    $linksMU[] = $downloadlink;
    }
    }
    $rowsc = count($linksMU);
    echo "<br />";
    echo "Megaupload Download Links";
    echo "<br />";
    echo "<textarea Name=\"update\" cols=\"80\" rows=\"$rowsc\">";
    foreach ($linksMU as $MUpart) {

    echo "$MUpart";
    echo " \n";
    }
    echo "</textarea>";
    echo "<br />";
    return $linksMU;
    }



    Please help :)
    automan Reviewed by automan on . [Help] Having problem in Megaupload upload plugin - Code Inside Hello, I am having problem in megaupload upload plugin. It is uploading the file but not to my account. you can say its in air. It seems to be more cookie, temp file problem. muUser and muPass are saved in accounts.php Problem: Its not making temp file in /temp/mu.ul" code: $muCookie = $dirname(__FILE__)."/temp/mu.ul"; Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    mytinydick.com
    Basically what MU php upload scripts do is if your account info is wrong (case sensitive both user and pass), it makes an alternative and uses the normal without account method.

    Bad bitch in my chevy.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Inside the lavish life of Megaupload founder, Dotcom
    By Bharat in forum News & Current Events
    Replies: 10
    Last Post: 22nd Jan 2012, 11:06 AM
  2. Need Working Megaupload Premium Upload Plugin for Rapidleech
    By nYXem in forum Technical Help Desk Support
    Replies: 6
    Last Post: 3rd May 2011, 05:46 AM
  3. [Other] Cheap New Domain 6 TLD coupon code inside
    By blackbrontok in forum Archive
    Replies: 0
    Last Post: 25th Apr 2011, 03:24 AM
  4. Replies: 6
    Last Post: 30th Dec 2010, 11:21 PM
  5. REQ Megaupload Plugin Upload
    By huno in forum Webmaster Resources
    Replies: 1
    Last Post: 25th Aug 2010, 03:05 AM

Tags for this Thread

BE SOCIAL