Read XML that is POSTed
Read XML that is POSTed
Out of context: Reply #13
- Started
- Last post
- 15 Responses
- welded0
XML in PHP5 is really easy. Simple, you might say.
$xml = simplexml_load_string( $_POST['your_xml'] );
Now $xml is a proper XML object so you can search it with xpath, iterate through and manipulate the nodes, and so on and so forth.