# Loading Vars from a .php file?

**URL:** https://forum.kirupa.com/t/loading-vars-from-a-php-file/218004
**Category:** flash
**Created:** [March 4, 2007, 4:07am UTC](https://forum.kirupa.com/t/loading-vars-from-a-php-file/218004 "2007-03-04T04:07:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Masterchief2219](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Masterchief2219](https://forum.kirupa.com/u/Masterchief2219)
#### Post date: [March 4, 2007, 4:07am UTC](https://forum.kirupa.com/t/loading-vars-from-a-php-file/218004/1 "2007-03-04T04:07:43Z")

</div>

I am experimenting with loading variables from a PHP file, because I plan on (hopefully) making a multiplayer flash game sometime in the future.

Well, when I use load() or sendAndLoad() with a text file, I have no problem loading the variables, but for some reason it has trouble getting them when I try to load them from a PHP file.

I was just wondering, is this just because I don’t have permission to load them from the php file?
