Hello,
I need to write PHP page which would accept XML document sent over POST request. Request itself looks like this:
POST /mypage.php HTTP/1.1
Host: myhost.com
Content-Type: application/xml
Content-Length: ...
<?xml version="1.0" encoding="utf-8"?>
<data>
...
</data>
This is not data from some HTML form, just plain XML document. I am not sure how to access this XML in my PHP code. Any hints? (Pointer to correct functions in manual is fine)
(I am sorry if this is too trivial... I cannot find correct functions in manual. Normally I don't do PHP)