# Flash-Based Email Form Using PHP

**URL:** <https://forum.kirupa.com/t/flash-based-email-form-using-php/208174>\
**Category:** Uncategorized\
**Created:** [November 25, 2006, 11:38pm UTC](https://forum.kirupa.com/t/flash-based-email-form-using-php/208174 "2006-11-25T23:38:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fulci](https://avatars.discourse-cdn.com/v4/letter/f/5f9b8f/32.png) [@fulci](https://forum.kirupa.com/u/fulci)\
**Post date:** [November 25, 2006, 11:38pm UTC](https://forum.kirupa.com/t/flash-based-email-form-using-php/208174/1 "2006-11-25T23:38:57Z")

</div>

[COLOR=black][FONT=Arial]Greetings all,[/FONT][/COLOR]

[COLOR=black][FONT=Arial]This is probably a silly question, but I’ve been staring at it for awhile and it’s going completely over my head:[/FONT][/COLOR]

[COLOR=black][FONT=Arial]Just done the Flash based email form using php tutorial, which works a treat, _except_ my email form is a movie, which is being loaded into a main movie. When I test my file, the email form seems to have trouble sending all the email info to the php.file, so I figured as I’m loading everything into another movie, I have to alter something along the lines of the location, but not sure what.[/FONT][/COLOR]

[COLOR=black][FONT=Arial]On my send button, when all the email info is loaded as variables and sent to the php file, I have the following action script.[/FONT][/COLOR]

```auto
on (release) {
 // send variables in form movieclip (the textfields)
 // to email PHP page which will send the mail
 form.loadVariables("email.php", "POST");
}

```

[FONT=Times New Roman][SIZE=3]I’m guessing all I need to do is add/alter something here, but not sure what. Anyone have any ideas??[/SIZE][/FONT]
