Jump to content

How to parse xml sended via HTTP POST


truongpm

Recommended Posts

You can use DOM or SimpleXML to parse it.

 

It esealy to parse if i hepl a xml file.

But my problem is i get a xml data via POST method. ex Some mobile app send to the server side data in xml format via POST method. I get this variable by $xmlstr=JRequest::getVar("thetext"); under Joomla framework. And i don't know how to parse it data.

 

Sorry about my english skill. Please help me!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.