Hello,
I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back
HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; charset = UTF-8 Transfer-Encoding: chunked Connection: keep-alive Server: Apache/2.2.17 (FreeBSD ) X-Powered-By: PHP/5.3.6 Set-Cookie: kohanasession = 6cadbdd3a672521dc2d5300ffcd171% 7E; expires = Wed, 25-Jul-2012 17:44:02 GMT; path = / Set-Cookie: kohanasession = 59356c3ccc6cc6fffd76e7; expires = Thu, 26-Jul-2012 20:44:02 GMT; path = / Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check = 0, pre-check = 0 Pragma: no-cache Set-Cookie: kohanasession = 7c638f49b6a12c776d472f21ca3b7% 7E594a3ab17bce356c3ccc6cc6fffd76e7; expires = Thu, 26-Jul-2012 20:44:02 GMT; path = / Set-Cookie: sid = 8116a48a58d5f88cc6cd9722309bc1ce99% 7E; expires = Wed, 25-Jul-2012 17:44:02 GMT; path = / Set-Cookie: compid = 1be9124912615302d539ace729f2ec% 7E; expires = Wed, 25-Jul-2012 17:44:02 GMT; path = / Set-Cookie: compid = f06a60e996****e6cc619bbfb9fc40% 7E8222534783D7BED9D0A8EC1FD5A; expires = Fri, 26-Jul-2013 17:44:02 GMT; path = / Set-Cookie: user_isloggedin = deleted; expires = Wed, 27-Jul-2011 17:44: 01 GMT; path = / Set-Cookie: user_lang = ru; path = / Set-Cookie: refuid = 10a524e67c7a7b7b07d571eda4f61eacbddddf3e% 7EE2183B36E74D4E97F5D8AB5D280571BE; expires = Fri, 26-Jul-2013 17:44:02 GMT; path = /
if you noticed
Set-Cookie: user_isloggedin = deleted; expires = Wed, 27-Jul-2011 17:44: 01 GMT
while when i login its set to 1, but when i try to get the download link its rejecting, anyone can tell me what are cause of this. and did anyone do something like before
thanks