# Flash Based PHP Contact Form Tutorial

**URL:** https://forum.kirupa.com/t/flash-based-php-contact-form-tutorial/259614
**Category:** flash
**Created:** [May 7, 2008, 7:18am UTC](https://forum.kirupa.com/t/flash-based-php-contact-form-tutorial/259614 "2008-05-07T07:18:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![manavtomar](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@manavtomar](https://forum.kirupa.com/u/manavtomar)
#### Post date: [May 7, 2008, 7:18am UTC](https://forum.kirupa.com/t/flash-based-php-contact-form-tutorial/259614/1 "2008-05-07T07:18:36Z")

</div>

Hi

Well here’s to the Flash Based PHP Contact Form Tutorial.

I have embedded it on my website using your tutorial. I would like to know whether we can add a status message (Sending Message etc.), while the message is being sent and then the Message Sent Frame. Please do let me know.

Cheers:p:  
Deejay T

---

<div class="post-metadata">

### Author: ![minthu](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/minthu/32/1757_2.png) [@minthu](https://forum.kirupa.com/u/minthu)
#### Post date: [May 27, 2008, 2:46pm UTC](https://forum.kirupa.com/t/flash-based-php-contact-form-tutorial/259614/2 "2008-05-27T14:46:01Z")

</div>

You may see [this sample form](http://www.webdesignmo.com/blog/2008/05/26/as2-flash-contact-form/).

---

<div class="post-metadata">

### Author: ![djheru](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/djheru/32/3190_2.png) [@djheru](https://forum.kirupa.com/u/djheru)
#### Post date: [May 27, 2008, 9:47pm UTC](https://forum.kirupa.com/t/flash-based-php-contact-form-tutorial/259614/3 "2008-05-27T21:47:14Z")

</div>

I had to do a presentation on this topic a few weeks ago for work. My form is not that pretty, but it works pretty well. It uses sendAndLoad and recieves a status message while sending.

It also checks for valid email addr (required) and teh phone field is not required, but if they enter something, it checks for a valid phone number, both using regular expressions in the php script.

The code is all ridiculously commented, because, as I said, I had to do a presentation on the topic. Please let me know what you think.
