# Php to Flash?

**URL:** https://forum.kirupa.com/t/php-to-flash/246305
**Category:** programming
**Created:** [December 9, 2007, 11:26pm UTC](https://forum.kirupa.com/t/php-to-flash/246305 "2007-12-09T23:26:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)
#### Post date: [December 9, 2007, 11:26pm UTC](https://forum.kirupa.com/t/php-to-flash/246305/1 "2007-12-09T23:26:03Z")

</div>

hi!

I’ve got this in my flash…

```auto
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
    myTextBox.text = this.LinkToKirupa;
};
myLoadVars.load("submithigh.php");

```

and this in my submithigh.php file

```auto
<?php
$LinkToKirupa="500000";
?>

```

when i run my flash… it comes up with “undefined”… so it doesn’t seem to work…

I did it with a text file…  
which just had

```auto
LinkToKirupa=500000

```

and it works!

So… I’m guessing since it’s php… it’s gotta be scripted a different way.

What can i do to make it work in php?

Thanks!
