# PHP Variables Not Loading?

**URL:** <https://forum.kirupa.com/t/php-variables-not-loading/200538>\
**Category:** flash\
**Created:** [September 13, 2006, 1:51am UTC](https://forum.kirupa.com/t/php-variables-not-loading/200538 "2006-09-13T01:51:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [September 13, 2006, 1:51am UTC](https://forum.kirupa.com/t/php-variables-not-loading/200538/1 "2006-09-13T01:51:43Z")

</div>

Heres a basic script I found, of course not flash 8 formatted to look shiny but:

```auto
phpfilepath = "http://freish.freehostia.com/files.php";
myVars = new LoadVars();
myVars.load(phpfilepath);
myVars.onLoad = function() {
	total.text = this.x;
};

```

In the php file:

```php
<?php

$x = "abc";
print $x;

?>

```

Any reason why flash doesnt load “abc” into total.text? My php file permissions are set to 755 by default.
