# Can loadVariables load directories?

**URL:** <https://forum.kirupa.com/t/can-loadvariables-load-directories/43222>\
**Category:** Uncategorized\
**Created:** [February 20, 2004, 1:24am UTC](https://forum.kirupa.com/t/can-loadvariables-load-directories/43222 "2004-02-20T01:24:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iroqfox](https://avatars.discourse-cdn.com/v4/letter/i/e68b1a/32.png) [@iroqfox](https://forum.kirupa.com/u/iroqfox)\
**Post date:** [February 20, 2004, 1:24am UTC](https://forum.kirupa.com/t/can-loadvariables-load-directories/43222/1 "2004-02-20T01:24:37Z")

</div>

I hope this has not been posted (which with my luck it has), but I hope someone knows if a directory can be opened using loadVariables and then placed into an array or loop. I know files can be loaded individually, but I want to be able to see all the files using PHP and my .swf file. I hope this makes sense because I am some what lost. Thanks for any help. ^^

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 20, 2004, 5:23am UTC](https://forum.kirupa.com/t/can-loadvariables-load-directories/43222/2 "2004-02-20T05:23:17Z")

</div>

i dont know anything bout php but an easy way out could be writing the filenames on a txt or xml, load it and then load the files from the directory
