Hi,
I'm working on an XML application, where XML documents are POSTed between two serveres via HTTP.
I finally found a way to process incoming documents, by parsing the $HTTP_RAW_POST_DATA variable (requires the mime type to be unknown, i.e. application/xml ).
But now I have to POST an XML document in reply to the other server.
Is there any other (easier) way, than constructing your own headers (mime type, length etc. etc.), adding the document and opening a connection to the server through a socket??