Modifying an existing XML file

Hello there!

This is very unfamiliar terrain for me, I don’t know a lot about PHP.

I’ve recently used some of it’s abilities to create an XML file, based on some XML data that I would have sent from Flash via an XML object. But every time the XML would get modified, I would have had Flash send the whole data, overwriting the existing content.

Now, I have this question (which I know probably is a noob question, but meh…): If I send an XML Node from Flash, and use PHP to catch it, can I open the XML file, alter its content (i.e concatenating the new node) and then close the file, all of this within the PHP script?

I hope I haven’t wasted your time with this.

Cheers!