I have a client-side script written in jQuery that is sending text/xml data to the server, but I can't figure out how to parse the request since the data is not a query string variable. The jQuery looks like this:
jQuery.ajax({
url: "test.php",
type: "POST",
processData: false,
contentType: "text/xml",
data: xmlDoc,
success: function( data ) {
alert( data );
}
});
The xmlDoc is a valid XML document. I've tried everything in the PHP, but I can't get any of the nodes or content using simplexml.