Sending XML from flash to Php
having slight problem sending XML from flash to php...
the actionscript is
Code:
var xmlSend:XML = new XML("<data><name>from flash name</name></data>");
xmlSend.send("http://localhost/work/employees.php", "_blank");
and my employees.php is
Code:
<?php
$raw_xml = file_get_contents("php://input");
echo $raw_xml;
echo "hello there"; // this echoes out fine
?>
However the php file does not echo any XML out to the screen ..any idea what the problem maybe? The php file is getting called correctly as it opens up and "hello there" is being echoed out..
Thanks in advance