View Full Version : uploading.com login page (i'll give one free account for help)

02-23-2012, 12:23 AM
i'm trying to add uploading.com to my website (www.downmasters.com) but the problem they have different way, i'm having trouble logging in and getting correct cookies.

this is my code, i got most of it from rapidleech

$link = "http://uploading.com/general/login_form/?JsHttpRequest=".$tid."-xml";
$post["email"] = 'xx';
$post["password"]= 'xx';

if ('up.txt') unlink('up.txt');
$ch = curl_init($link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20061204 Firefox/');
curl_setopt($ch, CURLOPT_REFERER, 'http://uploading.com/');

curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);

curl_setopt($ch, CURLOPT_COOKIEJAR, 'up.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'up.txt');

$page = curl_exec($ch);

i will give premium downmasters account which will enable you to download from 4 files hosts and others will be added soon