Send xml from ActionScript to PHP
Posted
by Vish
on Stack Overflow
See other posts from Stack Overflow
or by Vish
Published on 2010-05-25T11:05:29Z
Indexed on
2010/05/25
11:11 UTC
Read the original article
Hit count: 220
Hi, I have values inside an XMLList in Actionscript. Need to send these values to the DB and update it. My actionscript code is as follows:
http://www.freeimagehosting.net/uploads/dbbc612193.gif
- How can I send the XMLList data to PHP? Should I add a toString() to it?
- Also what should be the contentType in Flex.
How can I catch this inside PHP, pl let me know, trying to use, this way,
if($user -> isAllowedAccess()) {
header("Content-type:text/xml");
$postedData = $_POST["pdata"];
// $xmldoc = simplexml_load_string($POST['pdata']);
// echo($xmldoc);
}
No luck. Pl let me know.
© Stack Overflow or respective owner