Jump to content

Is this possible?


Aureole

Recommended Posts

Here's basically what I want to do:

 

 

I will put my Windows Live ID email address and password into a PHP script and then:

  • Sign in to Xbox.com with the email address and password, in the background.
  • Once signed in, open the Messages page, in the background.
  • Check for new messages.
  • Show them.

 

I will be able to work out how to check and show the messages on my own, it's the background stuff I need help with.

 

I'm assuming I'll need to use sockets etc. but I can't find a tutorial or anything on Google on how to do something like this.

Link to comment
https://forums.phpfreaks.com/topic/98282-is-this-possible/
Share on other sites

About the Google thing, it turns out I was searching *too* specifically.

 

Here's what I have so far and it doesn't work, it just shows the sign in page.

 

<?php
$url = "http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1206715726&rver=4.5.2135.0&wp=MBI&wreply=https:%2F%2Flive.xbox.com%2Fxweb%2Flive%2Fpassport%2FsetCookies.ashx%3Frru%3DhttpZ3AZ2FZ2FwwwZ2ExboxZ2EcomZ2FenZ2DUSZ2FdefaultZ2Ehtm&lc=1033&cb=B001033httpZ3AZ2FZ2FwwwZ2ExboxZ2EcomZ2FenZ2DUSZ2FdefaultZ2Ehtm&id=66262";

$c = curl_init();

curl_setopt( $c, CURLOPT_URL, $url );

curl_setopt( $c, CURLOPT_POST, 2 );

curl_setopt( $c, CURLOPT_POSTFIELDS, "i0116=emailaddresshere" );
curl_setopt( $c, CURLOPT_POSTFIELDS, "i0118=passwordhere" );

$result1 = curl_exec( $c );

curl_close( $c );

print $result;
?>

Link to comment
https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-503157
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.