# Change Flash site's xml source?

**URL:** <https://forum.kirupa.com/t/change-flash-sites-xml-source/295207>\
**Category:** web dev\
**Created:** [August 26, 2009, 4:48pm UTC](https://forum.kirupa.com/t/change-flash-sites-xml-source/295207 "2009-08-26T16:48:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theappshare](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@theappshare](https://forum.kirupa.com/u/theappshare)\
**Post date:** [August 26, 2009, 4:48pm UTC](https://forum.kirupa.com/t/change-flash-sites-xml-source/295207/1 "2009-08-26T16:48:36Z")

</div>

I didn’t know where to post this, so I hope it is right.

I currently have the ELITE XML theme from flashden. I want to make it so it:

1. Creates an XML file for EACH content box/image box rather than reading all of the content from one single .XML

2. I need help creating a PHP script that will grab the content submitted from an HTML form, and place it in a new .XML so its content will show up like it would if I were to add it to the XML manually.

here is my XML structure:

```auto
<image>
        <title>Application</title>
        <url>www.TheAppShare.com</url>
        <img>elite_powerful_dynamic_xml_gallery_galleries/category1/img1.jpg</img>
        <tmb>elite_powerful_dynamic_xml_gallery_galleries/category1/tmb1.jpg</tmb>
        <topic><![CDATA[App Summary will be Here.]]></topic>
        <desc><![CDATA[MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO MoRE INFO]]></desc>
    </image>

```

Here is my HTML form. The name="" on each text area represents a variable code in the XML, ex name=“topic” is

```auto
<html>

<head>

<title>Application Submission Form/title>

</head>

<body>

<p><center>Submit an Application</center></p>

<form method="POST" action="d2xml.php">

<input type="hidden" name="write_xml" value="true">

<table>

  <tr>

    <td>Type:<input type="text" value="Application" name="title" size="50"></td>

  </tr>

  <tr><td>URL / Download Link:<input type="text" name="url" size="50"></td>

  </tr>

 <tr><td>App Icon (Link to Image):<input type="text" name="tmb" size="50"></td>

  </tr>
  
 </tr>

 <tr><td>Screenshot(s):<input type="text" name="img" size="50"></td>

  </tr>
  
   </tr>

 <tr><td>Category & Version:<input type="text" value="ex. Games // version 1.0" name="topic" size="50"></td>

  </tr>
  
 </tr>
  
   <tr><td>App Info & Description:<br>
   <textarea name="description" cols="50" rows="20"></textarea></td>

  </tr>
 </table>

  <p align="center">

  <input type="submit" value="Submit" name="create"></p>

</form>

</body>

</html>

```
