How can I edit an xml file through a php form?

Did some searching but couldn’t find any clear cut tutorials or scritps.
I would like to be able to edit an xml file which holds the title, artist, and name of .mp3 file for my flash mp3 player.

It would be nice to be able to add songs using a php form (which would also upload the song) right into the xml file. Also the ability to edit and delete entries.

Anyone know how I can do this? Any tutorials or scripts around?

Thanks alot!

ps: normally i would use a database for this, but i haven’t gotten into db’s within flash just yet

thanks all, all working now :slight_smile:

one other thing, is there anyway u can use php to sort the list in alphabetical order say by song name???