# Saving XML with variable filename in php

**URL:** <https://forum.kirupa.com/t/saving-xml-with-variable-filename-in-php/176766>\
**Category:** flash\
**Created:** [January 26, 2006, 6:47pm UTC](https://forum.kirupa.com/t/saving-xml-with-variable-filename-in-php/176766 "2006-01-26T18:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadsBruun](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@MadsBruun](https://forum.kirupa.com/u/MadsBruun)\
**Post date:** [January 26, 2006, 6:47pm UTC](https://forum.kirupa.com/t/saving-xml-with-variable-filename-in-php/176766/1 "2006-01-26T18:47:53Z")

</div>

Hi All!

First: glad to be on this forum - it looks great!

I’m trying to save an XML file on a remote server via an php file, and so far this works fine by following the tutorial on this site - exept one thing…  
I would like to define the filename of my XML file to be saved via php in flash dynamically, eg. so I can create several XML’s from flash. But how is this possible ?- can an entry in the passed XML file be read in an easy way in PHP4 - or can I send a variable along with the XML object with some wrapping (maybee an advanced object).

Hope You can help me, thanks!
