# Problems reading php

**URL:** <https://forum.kirupa.com/t/problems-reading-php/302075>\
**Category:** Uncategorized\
**Created:** [December 21, 2009, 3:34pm UTC](https://forum.kirupa.com/t/problems-reading-php/302075 "2009-12-21T15:34:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![activa](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@activa](https://forum.kirupa.com/u/activa)\
**Post date:** [December 21, 2009, 3:34pm UTC](https://forum.kirupa.com/t/problems-reading-php/302075/1 "2009-12-21T15:34:29Z")

</div>

This may not be Flash related, but here it is:

There is a php script on a server that outputs a list of the JPGs in a folder, as a text file. My SWF reads this php file perfectly when the html/SWF is run from my browser locally (on my computer), but DOES NOT WORK when the html/SWF is loaded from a server. There is no error message, and the request never triggers the “OPEN” event.

This makes no sense to me since the URL request is made from my IP address, whether I download the html and SWF from a server or run it locally, right? Also, I can directly access the php in my browser. The PHP is running under the ModX CMS.
