正常接!
但可能有两点要注意
1、如果POst,要设置header,传送方试为表单
XMLObject.setRequestHeader "CONTENT-TYPE", "application/x-www-form-urlencoded"
2、objXmlHttp.send(objXmlDoc);objXmlDoc为对象,如果默认属性为text的话,可以传,如不是,好象不好传!

解决方案 »

  1.   

    我是用第2种发送的,objXmlHttp.send(objXmlDoc);
    但是PHP那边要怎么接收呢.
    不可能是直接$_POST["Content"]接收的吧!~~~
      

  2.   

    之前我用ASP是用这样子接收的:Set objXmlDoc       = Server.CreateObject("MSXML2.DOMDocument") 
    objXmlDoc.load     (Request.Binaryread(Request.Totalbytes))Set nodeList        =  objXmlDoc.SelectSingleNode("Root/RoleList")
    strContent          =nodeList.getAttribute("Content")Set objXmlDoc     = Nothing
      

  3.   

    $_POST["Content"]直接接收试试print_r($_POST)试试你可以objXmlHttp.send("content="+objXmlDoc.innerhtml);试试