开发者

Post XML via xmlhttpresponse and read xml from php

I have managed to send an xml via post using xmlhttprequest. I have also managed to read the whole xml syntax by an aspx page using

Dim reader As System.IO.StreamReader = New System.IO.StreamReader(Page.Request.InputStream)
Dim xmlData As String = ""
xmlData = reader.ReadToEnd()

I am now trying to read the xml from a php page. (I want to read the whole xml, headers and data)

using $_POST I am getting nothing

using file_get_contents("php://input") im getting the xml's data, no headers.

what am开发者_如何学编程 I doing wrong? How can I read the whole posted xml?


file_get_contents does the job i want. althought mozilla displays the pure xml data file_get_contents has

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜