action script -> xml:
loginXML = new XML();
loginXML.xmlDecl = "xml=";
loginElement = loginXML.createElement("LOGININFO");
loginElement.attributes.login = login;
loginElement.attributes.password = password;
loginXML.appendChild(loginElement);
loginReplyXML = new XML();
// loginXML.sendAndLoad("http://master/flash/flash.php", loginReplyXML);
what we get in php:
<?
print_r($HTTP_POST_VARS);
?>
Array
(
[xml] => <LOGININFO password=\"rferg\" login=\"sava\" />
)
ready to stripslashes and go!
problem with incorrect post can be solved adding some custom code with '=' before our xml - like this:
loginXML.xmlDecl = "xml=";