# Flash/PHP Integration Problems

**URL:** <https://forum.kirupa.com/t/flash-php-integration-problems/169524>\
**Category:** flash\
**Created:** [November 16, 2005, 10:28pm UTC](https://forum.kirupa.com/t/flash-php-integration-problems/169524 "2005-11-16T22:28:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caiyern](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@Caiyern](https://forum.kirupa.com/u/Caiyern)\
**Post date:** [November 16, 2005, 10:28pm UTC](https://forum.kirupa.com/t/flash-php-integration-problems/169524/1 "2005-11-16T22:28:39Z")

</div>

Hello, I seem to be having some problems with accessing PHP pages through flash. I have followed the instructions closely from the [“Learn How to Use Flash, PHP and MySQL” tutorial, and have even downloaded the completed files from the [url=“http://www.kirupa.com/developer/actionscript/authentication.htm”]“Login Using Flash MX, PHP and MySQL” tutorial](http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm). The databases are set up correctly, but even when not even attempting to access them, I cannot appear to get the simplest scripts to function properly.

My actionscript:

```auto

loadVariables("http://localhost/test.php", this, "GET");
/*
 *text is my dynamic textbox. x is the variable that should 
 *be retrieved from my PHP page.
 */
text=x;
stop ();

```

My file, test.php:

```php

<?php
$q="Blah";
print "x=$q";
?>

```

For some reason, Flash does not seem to be recieving the variable from test.php. The text box remains blank. Does anyone have any idea what I am doing wrong, or what needs to be configured differently? Any help would be appreciated.

Thanks,  
-Caiyern
