Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- XML being passed to PHP via POST
October 12, 2004, 1:26 am
rate this thread
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;
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.
- Tim Van Wassenhove
October 12, 2004, 2:12 am
Re: XML being passed to PHP via POST
not much help, but, add this to your page :-
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 :-
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