# XML from a projector problem \[Flash 8 (AS2) \]

**URL:** <https://forum.kirupa.com/t/xml-from-a-projector-problem-flash-8-as2/220584>\
**Category:** flash\
**Created:** [March 27, 2007, 3:49pm UTC](https://forum.kirupa.com/t/xml-from-a-projector-problem-flash-8-as2/220584 "2007-03-27T15:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zellers](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zellers/32/3135_2.png) [@zellers](https://forum.kirupa.com/u/zellers)\
**Post date:** [March 27, 2007, 3:49pm UTC](https://forum.kirupa.com/t/xml-from-a-projector-problem-flash-8-as2/220584/1 "2007-03-27T15:49:24Z")

</div>

uhmm… I have another question.

It’s not a problem, but it will be in the future if i don’t figure this out. I am just wondering how to

recieve an xml document using server-side scripting. This would maybe be better under the server-side

forum, but I don’t think I will get the answer I want there.

So, I’m in flash right, I have an xml object created, and it contains XML (obviously). All I want to do

is send this document to my web-site (btw, this is in a projector, in Flash 8) and have it placed in a

folder there as an XML file. The projector will close, and be done with it. To tell you the truth, I

have little experience with PHP, and no experience with Flash AND PHP. So really I don’t know

where I am going with this.

i THINK… the actionscript would be similar to this.

```auto

var myXML:XML = new XML(

<xml>
    <objects>
        <rectangles>
            <rect x="43" y="189" w="84" h="10"/>
            <rect x="433" y="129" w="32" h="90"/>
        </rectangles>
    </objects>
</xml>
);

myXML.ignoreWhite = true;

myXML.send ("http://www.myWebSite.com/recieveXML.php"); //I don't understand the difference between send(), and sendAndLoad()

```

I think something like that would work… Now, for the PHP part…

All I want to do is intercept the data and place it in an XML file, in a folder on my web-site.

Anyone have any scripts they could uhmm… lend me? I don’t want to take the time to LEARN PHP (or a

different server side script language) yet, but I would just like to know if there are any scripts that

anyone knows about or has made that I could use in order to write XML files that were sent in flash, in

an XML object.
