# Problems with loading text from php

**URL:** <https://forum.kirupa.com/t/problems-with-loading-text-from-php/202117>\
**Category:** Uncategorized\
**Created:** [September 27, 2006, 9:41pm UTC](https://forum.kirupa.com/t/problems-with-loading-text-from-php/202117 "2006-09-27T21:41:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnusvs](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@magnusvs](https://forum.kirupa.com/u/magnusvs)\
**Post date:** [September 27, 2006, 9:41pm UTC](https://forum.kirupa.com/t/problems-with-loading-text-from-php/202117/1 "2006-09-27T21:41:49Z")

</div>

Hi. I found this tutorial at kirupa where i can make a filelist using a php script and import it into flash as an string and convert it to an array.  
[http://www.kirupa.com/developer/mx2004/external\_array.htm](http://www.kirupa.com/developer/mx2004/external_array.htm)

My problem is that it works fine on my localhost apache server, but i tried to publish it on my web server and it doesn’t read the php.

Just to be safe it wasn’t anything wrong with my script, I copied the script from the tutorial, and made a .swf which i uploaded, and that doesn’t work (the file names are supposed to appear in a text box).

Does anybody knows what can be wrong? (the php script itself runs great on my web server)

Thanks!
