# XML or .txt (flat file)

**URL:** <https://forum.kirupa.com/t/xml-or-txt-flat-file/198102>\
**Category:** programming\
**Created:** [August 22, 2006, 2:48pm UTC](https://forum.kirupa.com/t/xml-or-txt-flat-file/198102 "2006-08-22T14:48:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregmax17](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gregmax17/32/2243_2.png) [@gregmax17](https://forum.kirupa.com/u/gregmax17)\
**Post date:** [August 22, 2006, 2:48pm UTC](https://forum.kirupa.com/t/xml-or-txt-flat-file/198102/1 "2006-08-22T14:48:35Z")

</div>

This is just a curiosity question for those who have experience with Flash and PHP. When doing a loadVariables() in Flash to a PHP file, is it quicker for PHP to write to a XML file or to a .txt file (aka flat file, I think)? What about vice versa? Would it be quicker for Flash to read a flat file or a XML file?

I would appreciate any and all opinions, suggestions, comments, etc. about the two.

Thanks
