I have a PHP page which receives 'POST'ed XML data from a server.
The data is sent in the format shown below.
My question is, how do I detect the posted XML data in PHP?
Thanks in advance
Simon
POST /mypage.php HTTP/1.1
Host: www.myhost.com
Content-type: text/xml
<?xml version="1.0"?>
<data>
<cmd>activate</cmd>
<param>
<name>John Public</name>
<email>john.public@domain.com</email>
<system>test</system>
</param>
</data>