# Basic POST variables and FlashMX

**URL:** <https://forum.kirupa.com/t/basic-post-variables-and-flashmx/8057>\
**Category:** Uncategorized\
**Created:** [November 13, 2002, 3:17am UTC](https://forum.kirupa.com/t/basic-post-variables-and-flashmx/8057 "2002-11-13T03:17:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragweed](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@ragweed](https://forum.kirupa.com/u/ragweed)\
**Post date:** [November 13, 2002, 3:17am UTC](https://forum.kirupa.com/t/basic-post-variables-and-flashmx/8057/1 "2002-11-13T03:17:22Z")

</div>

:-\

I’m a bit perplexed. I’m entirely new to Flash MX, and am stuck as to how to create a form that POSTs it’s variables to a .php script.

My “process.php” -

foreach($HTTP\_POST\_VARS as $key=\>$value) {  
echo “The value of index $key is $value\<br /\>”;  
}

Is there something wrong with the attached ‘basic.fla’? I’m just trying to grasp forms in Flash as an introduction. As I’ve understood it, the only action your button needs (w/ onrelease) is -

loadVariablesNum(“process.php”, 0, “POST”);

But when I submit information via the attached flash form, no variables are being sent to the server (linux w/apache). I’m missing something, I’m just not sure what.

Any suggestions or (good) tutorials I can be pointed to are appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 19, 2002, 10:21pm UTC](https://forum.kirupa.com/t/basic-post-variables-and-flashmx/8057/2 "2002-11-19T22:21:12Z")

</div>

[http://www.phpforflash.com/](http://www.phpforflash.com/)  
[http://www.phpforflash.com/board/](http://www.phpforflash.com/board/)
