RE: [flexcoders] Re: Send XML to PHP

2007-05-15 Thread Tracy Spratt
: Tuesday, May 15, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Send XML to PHP If you want to send raw XML from Flex, try building your XML within Flex (like so)... {stringVar} Then, in your HTTPService object, just keep the first line with one exception: When you

[flexcoders] Re: Send XML to PHP

2007-05-15 Thread b_alen
Many thanks buddy, but I solved the problem. It was exactly what you also said. HTTPService.contentType = "application/xml", and some errors in PHP as well. Btw, once in PHP I used this small piece of code and it works great: $raw_xml = file_get_contents("php://input"); $xmlData = new SimpleXMLEl

[flexcoders] Re: Send XML to PHP

2007-05-15 Thread nathanpdaniel
If you want to send raw XML from Flex, try building your XML within Flex (like so)... {stringVar} Then, in your HTTPService object, just keep the first line with one exception: When you call myRequest.send() - use this instead: myRequest.send (myXML); In your PHP you'll need to request l