Jump to content

httpRequest sending XML to PHP?


patfont

Recommended Posts

I need some help concerning the httpRequest or sendAndLoad. I'm using Flash and want to store an XML structure to the server. The technology used by Flash is the same as httpRequest. I used it and worked well with ASP but now I hosted my sites on Linux or Unix servers.
here is the simplified code in ASP:
[i]Set xmlDoc = Server.CreateObject("MSXML.DOMDocument")
xmlDoc.load(Request)
Response.contenttype = "text/xml"
xmlDoc.save(Server.MapPath("calendrier.xml"))[/i]

If I understand, in PHP we use $_POST["nameVar"]. But in Flash I don't set a variable to transfer instead I send the xml data directly.

How can I get my xml data?
I searched a lot on the web but I don't find this situation.
Thanks
Patrick
Link to comment
https://forums.phpfreaks.com/topic/29441-httprequest-sending-xml-to-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.