Register on ExpressionEngine site from iPad app using cURL - not authorized

Discussion in 'PHP' started by freestate, Oct 10, 2011.

  1. #1
    I have an ExpressionEngine site that I'd like to be able to have people sign up to using an iPad app.

    I've created a standalone PHP script that the iPad app posts user details to.

    I'm using cURL to grab the XID field from the register page and posting it through to the site along with the user details posted - it seems to accept the data OK, but just returns a completed registration form to me when I post the data, rather than registering the user and giving me the success response.

    Does anybody have any experience of doing this / know of any PHP scripts I can use?

    Thanks,

    Rob
     
    freestate, Oct 10, 2011 IP