Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Well, XML is nothing more than a specially formatted text file, describing a structure of datas.
You can write it "manually", simply parsing the post fields, or you can use functions like xmlWriter to ease up the job.
See an exemple there:
http://www.php.net/manual/en/ref.xmlwriter.php#64484
As for saving the datas, you must ask the people who run the service you are submitting ths xml.
It could be via a web service (like SOAP, or REST), via a form submit, or opening and writing to a specific socket on their server.....
__________________
Only a biker knows why a dog sticks his head out the window.
|