All of the examples I have seen for XMLHTTP requests seem to show how you pass parameters around, with either
Code:
xmlHttp.open("GET", "myPage.php?param1=x", true);
xmlHttp.send(null);
or
Code:
xmlHttp.open("POST", "myPage.php", true);
xmlHttp.send("param1=x");
However, the data which I need to pass over is larger and more complex than would be appropriate for either of the two methods above.
I have (in a previous project) used the above method to pass data to a server page (ClassicASP) in XML format, which I have then read using the Microsoft.XMLDOM as:
Code:
xmldom = Server.CreateObject("Microsoft.XMLDOM")
xmldom.load(Request)
Can someone advise how I can recreate this with PHP?