Results 1 to 10 of 19
Threaded View
-
25th Dec 2011, 06:33 PM #15OPMember
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Stream download link to user using CURL
By santanu18 in forum Technical Help Desk SupportReplies: 2Last Post: 8th Dec 2011, 04:44 AM -
Can i Add in Glype Proxy code to my Custom HTML Proxy template?
By mrHunt in forum Web Development AreaReplies: 0Last Post: 27th Oct 2011, 11:37 PM -
[Hiring] PHP Curl upload/download functions
By coincoinwc in forum Completed TransactionsReplies: 1Last Post: 29th Sep 2011, 01:18 PM -
How can I download from filesonic using curl ?
By shounak2011 in forum Web Application/Script SupportReplies: 0Last Post: 17th Sep 2011, 07:17 AM -
need help in filesonic/wupload download using curl
By saninokia in forum Web Development AreaReplies: 1Last Post: 30th Jul 2011, 04:11 PM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...