OK I seem to be having some problem trying to login into Passport Network via web. I need to get it to login in so that I can tranfer the xbox live friends list. Here what I got so far
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://login.live.com/ppsecure/post.srf");
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
$test["PPSX"] = "PassportRN";
$test["PwdPad"] = "";
$test["SI"] = " Sign In ";
$test["LoginOptions"] = "1";
$test["PPFT"] = "B41cvVvmaIseSSjQDK9j6g!iw9MNxae6fnStiMFzaSQYFWehm8MYaZrsAH!KwFncgWzu1ktwzN7Mxn*fhjk5PMLeKNLd";
$test["login"] = "test@test.com";
$test["passwd"] = "XXXXX";
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $test);
$login_page = curl_exec($ch);
Well, when I use my own account info, it keep getting me the incorrect login page, but if I take out the password, then it asks for the password, so that means it getting the password on the server side, but for odd reasons that incorrect and the login info is correct as I can login in using firefox. Is there anybody has any idea what may be wrong?
Thanks
ViPeR