SyntaxFix
Write A Post
Hire A Developer
Questions
Previous anwser works fine. I would just add that you dont need to specify CURLOPT_POSTFIELDS as "xmlRequest=" . $input_xml to read your $_POST. You can use file_get_contents('php://input') to get the raw post data as plain XML.
"xmlRequest=" . $input_xml
file_get_contents('php://input')