# Contact form PHP confirmation

**URL:** https://forum.kirupa.com/t/contact-form-php-confirmation/214468
**Category:** Uncategorized
**Created:** [January 29, 2007, 9:13am UTC](https://forum.kirupa.com/t/contact-form-php-confirmation/214468 "2007-01-29T09:13:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sakura](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Sakura](https://forum.kirupa.com/u/Sakura)
#### Post date: [January 29, 2007, 9:13am UTC](https://forum.kirupa.com/t/contact-form-php-confirmation/214468/1 "2007-01-29T09:13:28Z")

</div>

Hello, I’ve done a search and I can’t seem to find the answer.

This AS code works 100%, but the problem is that the PHP server doesn’t send the email instantly as soon as the submit button is pressed in Flash. So I want the PHP server to tell Flash that the email was sent then it could move to frame 2.

```auto
on (release) {
	if (nametxt.text != "" && emailtxt.text != "" && messagetxt.text != "") {
		_root.form.loadVariablesNum("email.php", "POST");
		gotoAndStop(2);
	} else {
		stop();
		error._visible = true
	}
}

```

So FLASH sends email.php to PHP, then I want a reply to FLASH from PHP that email was sent. Is it possible, and does it make sense?  
Thank you
