I have a script that lets me log into xbox live using simplebrowser. How ever the browser detector on xbox live takes me to a blank page after log in that has an empty form that needs to be submitted. But the form doesn't show on my browser so simplybrowser can't find it to submitted. The creator of the script says I need to use cURL, how can I use curls with simplebrower? Here's the script.
require_once('simpletest/browser.php');
$browser = new SimpleBrowser();
$browser->get('http://live.xbox.com/en-US/profile/profile.aspx?pp=0&GamerTag=');
$browser->setField('Email Adress', '[email protected]');
$browser->setField('Password', 'blah');
$browser->clickSubmitByName('SI');
$browser->submitFormById('fmHF');
return $browser->getContent();