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