Send a file from my server to a page on another server to be processed and return me an xml reply..
Posted on 2013-12-23
My exact case :
When a site user tries to register , he uploads a word file ( his CV).
Then this word file is processed to extract some data from it ..
This is working fine till now.
But what I want , Is , after he click submit the registration form, his data sent to the server will have some processing and some data to be inserted in the DB , and to open a connection with another server to send the uploaded file to it , to be processed on the second server and then send me the reply as XML file .. to be processed again on my original file..
What are the suggestions for doing that ?
Reason: My original server is running on Linux , And I the file processing to be on windows to be able to use the COM class which is only available on the windows version of PHP.
And I don't prefer to transfer my site to a windows hosting due to security reasons.