User talk:Bcoughlan/Login with curl

What is createPage coming from?

checkForErrors($xml) is missing, too.

Changes done to the Login with curl code
I tried executing your code & found it necessary to make a few changes to it.

1) createPage, checkForErrors, $snoopy are unncessary.

2) The user agent field was missing the curl options.

You need to trim the data response, otherwise simplexml gets angry and complains
I tried to apply this code to a drupal CMS to make the simultaneous login for each CMS I arrive in Success status with the response : "<login result="Success" ....", but if I refresh in an other tab my MediaWiki I'm not logged in. Any ideas? Can the cookie setting to be the problem?