Aureole Posted March 28, 2008 Share Posted March 28, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/ Share on other sites More sharing options...
aschk Posted March 28, 2008 Share Posted March 28, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-502914 Share on other sites More sharing options...
Aureole Posted March 28, 2008 Author Share Posted March 28, 2008 I'm not too familiar with cURL or sockets and I can't find ANYTHING on the web that helps. If anyone has any example code laying around, or doesn't mind writing some then it would be most appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-502917 Share on other sites More sharing options...
Aureole Posted March 28, 2008 Author Share Posted March 28, 2008 I'm just going to go ahead and give this a bump, I still can't find any information via Google. Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-503116 Share on other sites More sharing options...
discomatt Posted March 28, 2008 Share Posted March 28, 2008 You need to learn to use google better it seems. http://blog.mypapit.net/2006/02/sending-http-post-with-php-curl.html http://www.google.ca/search?q=curl+submit+remote+form+php Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-503124 Share on other sites More sharing options...
cooldude832 Posted March 28, 2008 Share Posted March 28, 2008 I'm not too familiar with cURL or sockets and I can't find ANYTHING on the web that helps. If anyone has any example code laying around, or doesn't mind writing some then it would be most appreciated. php.net search cURL give a plethora of info Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-503126 Share on other sites More sharing options...
Aureole Posted March 28, 2008 Author Share Posted March 28, 2008 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; ?> Quote Link to comment https://forums.phpfreaks.com/topic/98282-is-this-possible/#findComment-503157 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.