# Using PHP to write XML

**URL:** <https://forum.kirupa.com/t/using-php-to-write-xml/177928>\
**Category:** flash\
**Created:** [February 6, 2006, 4:00pm UTC](https://forum.kirupa.com/t/using-php-to-write-xml/177928 "2006-02-06T16:00:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Post date:** [February 6, 2006, 4:00pm UTC](https://forum.kirupa.com/t/using-php-to-write-xml/177928/1 "2006-02-06T16:00:01Z")

</div>

Is it possible to write to an XML file with PHP?

I have a simple Flash/XML slideshow-esque presentation that uses images+audio.

I want to hand it over to a client but I think managing the XML is too advanced for them.

I’m thinking I might need to hand over an HTML form with some PHP to allow them to upload assets and add/delete slides. If I could make it in Flash, that would be even better. I’m thinking that if I do it in Flash, I can set an interval to keep reloading the XML in so the client can see their edits as they create a presentation.

I’ve used PHP to write to .txt files for simple hit counters etc. that I’ve used in Flash, but this is a bit over my head.

Anyone?
