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.