We need to create a PHP form that will simultaneously send data to two Salesforce orgs, and update Accounts, Contacts, and some custom objects. Is it possible? What will be the best approach to implement this? ( How can I send requests to two different orgs from one PHP form?)
Edit 1 I am trying to do it with REST API. I am a newbie, so examples would be greatly appreciated Thanks a lot.
Edit 2 How can I send form data to Salesforce orgs without asking user to authenticate to these orgs? Other words, how can I authenticate and authorize external APH app to access Force REST API? Is it only possible with OAuth1, or can I use OAuth2 too? (I am looking on this example: http://blog.jeffdouglas.com/2010/07/23/using-oauth-to-authorize-external-applications-2/) Thanks.