# Flash Form Help

**URL:** <https://forum.kirupa.com/t/flash-form-help/318809>\
**Category:** Uncategorized\
**Created:** [January 31, 2011, 1:03pm UTC](https://forum.kirupa.com/t/flash-form-help/318809 "2011-01-31T13:03:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Itehnological](https://avatars.discourse-cdn.com/v4/letter/i/f1d935/32.png) [@Itehnological](https://forum.kirupa.com/u/Itehnological)\
**Post date:** [January 31, 2011, 1:03pm UTC](https://forum.kirupa.com/t/flash-form-help/318809/1 "2011-01-31T13:03:22Z")

</div>

Hi,  
I have to make a flash form, connected with PHP. It has to send two variables with POST - username and password. It is actually very simple but I just cant get it working. I have 2 text input fields with instance names - “user” and “pass” and a button. Here is a sample code which I am using …

on(release){

```
_root.form.loadVariables("http://website.sgcolonies.com/login.php?redirect=false", "_SELF", "POST");
getURL("http://website.sgcolonies.com/login.php?redirect=true", "_SELF", "POST");
_root.form.user="";
_root.form.pass="";

```

}

Here is link of the website:  
[LINK HERE](http://website.sgcolonies.com)
