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

Results 1 to 10 of 19

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    your co-worker did not responded to my pm./

    anyway.

    fuck about your shit "secrets", here it is, to sum up:

    1) cURL login and form and parse the output to get the download link and the member cookie:
    curl_setopt($ch, CURLOPT_COOKIEFILE, "the_cookie.txt");

    2) open a socket on the download link,:
    $fp = @fsockopen($host, $port, $errno, $errstr, 3);
    3) putting the right headers/cookies in it:
    fputs($fp, $your_headers);
    including cookie:
    $your_headers .= "Cookie: PHPSESSID=".$session."; key=".$var."\r\n";
    (you can read the cookie's keys/values preg_match()'ing from the cookie.txt)
    4) then output the stream to the visitor:
    while (!feof($sock)){
    echo fread($sock, 8192);
    }
    fclose($sock);



    kthxba?

    mfw those who know don't respond to my pm -->
    mfw i post the response here --> x'D

    sry for my bad english

    case closed.
    musa Reviewed by musa on . how to curl and proxy download hey, i would like to know how this ( shimory DOT com ) works TECHNICALLY. i suppose first layer is cURL in order to grab the cookie and the downloading link (like http//srv43.fil3s0n1c.com/ef4888/dfeee/file.zip). but HOW is it possible to make the visitor download the file INSTANTLY (shimory does not even grabs the file through like wget() but deservs it immediatly to the visitor, kind of proxy, with a link like http://serv02.sh1m0ry.com/yourfiledearvisitor.zip). i would like to know how to Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Quote Originally Posted by musa View Post
    your co-worker did not responded to my pm./

    anyway.

    fuck about your shit "secrets", here it is, to sum up:

    1) cURL login and form and parse the output to get the download link and the member cookie:
    curl_setopt($ch, CURLOPT_COOKIEFILE, "the_cookie.txt");

    2) open a socket on the download link,:
    $fp = @fsockopen($host, $port, $errno, $errstr, 3);
    3) putting the right headers/cookies in it:
    fputs($fp, $your_headers);
    including cookie:
    $your_headers .= "Cookie: PHPSESSID=".$session."; key=".$var."\r\n";
    (you can read the cookie's keys/values preg_match()'ing from the cookie.txt)
    4) then output the stream to the visitor:
    while (!feof($sock)){
    echo fread($sock, 8192);
    }
    fclose($sock);



    kthxba?

    mfw those who know don't respond to my pm -->
    mfw i post the response here --> x'D

    sry for my bad english

    case closed.
    It is weird though, you used many bad words in your reply, was my reply really that heart piercing? because actually, I am telling you in a professional way and even signed up for you just to give you answer. So, just to tell you, this is really not what I expected from a person who ask for an answer. I even tried my best to help you because I know, I've been at your place last time. If i'm wrong, then correct me but this will be the last time I will reply to this thread. Thank you.

    Quote Originally Posted by Robin H View Post
    Great to have a new useful member!
    Haha, thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Stream download link to user using CURL
    By santanu18 in forum Technical Help Desk Support
    Replies: 2
    Last Post: 8th Dec 2011, 04:44 AM
  2. Can i Add in Glype Proxy code to my Custom HTML Proxy template?
    By mrHunt in forum Web Development Area
    Replies: 0
    Last Post: 27th Oct 2011, 11:37 PM
  3. [Hiring] PHP Curl upload/download functions
    By coincoinwc in forum Completed Transactions
    Replies: 1
    Last Post: 29th Sep 2011, 01:18 PM
  4. How can I download from filesonic using curl ?
    By shounak2011 in forum Web Application/Script Support
    Replies: 0
    Last Post: 17th Sep 2011, 07:17 AM
  5. need help in filesonic/wupload download using curl
    By saninokia in forum Web Development Area
    Replies: 1
    Last Post: 30th Jul 2011, 04:11 PM

Tags for this Thread

BE SOCIAL