<se******@swbell.net> wrote in message
news:41*****************@news.dallas.sbcglobal.net ...
I am using macromeda Flash to create anXML object which I pass to PHP.
I need to know how to recieve it into PHP so I can process it in PHP.
For now all I want to do is display the XML on the screen.
To start at the simplest point I am trying this:
$my_xml = $_POST;
echo $my_xml;
Of course all it echos is "Array"
If I have tried a few other things, but I am shooting in the dark.
Any help would be greatly appreciated.
Hi,
not much help, but, add this to your page :-
echo '<pre>';
print_r($_POST);
echo '</pre>';
It won't help interpreting the data, but will do a recursive print to the
browser of all the post data. At leas then, you'll know what your dealing
with. Depending on the content of the post, you might also want to try :-
echo '<pre>';
print_r($GLOBALS);
echo '</pre>';
This will produce a lot of output, but you'll be able to inspect all data
sent to your page including session data etc. which is usefull for debugging
/ development.
HTH,
Martin