Contact form with PHP and Flash
by chief monkey
In this tutorial we are going to show you how to create a contact form within flash and send it using PHP.
In this tutorial we are going to show you how to create a contact form within flash and send it using PHP.
* The version below doesn't do anything.
Click here to download the source for this tutorial.
First of all a few requirements.
This tutorial is written for Flash 5 and obviously your server must support PHP Download the source file and open it and have a study it as we go through this tutorial, it will make it easier to understand.
Ok Lets get started Next page >>>

Place your comment about Contact form with PHP and Flash

You must me logged in to write a comment
January 9, 2008 by Jethro Harrington
Does anyone know how the auto reply works in the php code? I got it to work once but not sure how.
foreign characters
September 7, 2007 by andreas edin


å,ä,ö doesn't show up properly in the email you get when I use this contact form. Does anybody know how I need to code the php or flash file to get this to work? I'm a php- newbee :)


the sweede 




2 things - no validation - no email
July 30, 2007 by Jai Williams

Hi guys!  I've been shooting myself in the foot hear for what I'm embarrassed to say has been hours...and I came across this tutorial which seemed like it should work like a charm, but I've 2 standing issues w/it:


#1 - With empty / blank fields, the submit still goes to the next frame in the .FLA file ('thank you' message).


#2 - Even w/a completed form, I don't get an email of anykind, blank or otherwise (which may theoretically have something to do w/ #1 issue above)...


Any help you guys could provide would be GREATLY GREATLY appreciated.


Best Regards,


Blank e-mail fix
June 10, 2007 by D D

Hi everyone,

I had the same problem as the people in one of the first posts.
I would get a blank e-mail that irritated me so I searched for a solution and i finally got it!

Put the text below at the beginning of your PHP file and it will be fixed :D

$name = $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];

Greetz Darkness
P.S. Thankx for the tutorial it has been helpful to me!

See all 19 Comments