Jump to content

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

Theoretically speaking you can perform this utilising cURL or indeed sockets (if you are more familiar with streams + headers). Each time you make a url call you'll need to parse the response, break out all the information from the html and present it in the fashion you want.

Link to comment
https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-502914
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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.