I am posting a XML file using the http post method. I have uses the following links for that
How can I get a response in PHP.
I thinks this link will be better to understand.
I have required, if server response is 200 then ok, I will delete the xml file from the folder, If the server response is other then 200, I will retry http post to the server.