This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
adrianTNT (32)
Contact Form
This is a contact form made with flash and php. Edit mailer.php and change [email protected] with your email, make sure that email is hosted on same server where you put the files. Upload swf, html and php file then access the html or swf file to test the contact form.Listing url: www.macromediahelp.com/flash/php_flash_con...
6366 downloads, 28451 views
Comments
You need to login to post a comment.
Thanx again!
I did everything asked for in your quick tutorial. I don't understand the problem. Is it okay im loading the page into and html page?
thanks
Simple and best of all it work fine! Thanks to you. now i can try a bit more complex forms.
hi, i upload the swf file and the php file... i also change my email in the mailer.php, its hosted on the same server but it doesnt work, can you help me please, i dont understand why it doesnt work. My server allowes php files too....
Im getting mad.
THANKS
I believe that the problem is here: It helps me please.
stop();
System.useCodepage = true;
send_btn.onRelease = function() {
my_vars = new LoadVars();
my_vars.sender = email_box.text;
my_vars.subject = subject_box.text;
my_vars.message = message_box.text;
if (my_vars.sender != "" and my_vars.subject != "" and my_vars.message != "") {
my_vars.sendAndLoad("mailer.php",my_v ars,"POST");
gotoAndStop(2);
} else {
error_clip.gotoAndPlay(2);
}
my_vars.onLoad = function() {
gotoAndStop("<>", 3);
};
email_box.onSetFocus = subject_box.onSetFocus=message_box.onSet Focus=function () {
if (error_clip._currentframe != 1) {
error_clip.gotoAndPlay(6);
}
};
};
What I must make? In more very very exactly!
Hi, As Adrian goes. I installed in my site this form of contacts. Already I executed a test and already I am obtaining to order email. I only am in doubts a fact: It is following when the control the email has tested it control the email but it goes and it stops in frame 3 of my site. What I must make?
very nice work! thank you very much
Great work, but I have noticed that it doesnt work with Safari.
The form confirms that the message was sent, but despite a few attempts I dont receive any mail. It works perfectly in other browsers. If anybody has any suggestions as to how I could try to fix this I would really appreciate it.
Im using Safari 3.1.2 on Mac OSX 10.5.4. I actually much prefer firefox as a browser, but I understand lots of people like Safari.
Rich
thanks very much!
Another one html form with captcha: thewebhelp.com/php/php_contact_form_with _image_validation/
I think it should work with php 5.
Nice Job Adri. Any problem working in Servers runing PHP5.?
Maybe your server is blocking you form sending emails by PHP, is the email you entered one @yoursite.com or yahoo, gmail, hotmail, etc?
Hi, sorry it didn't work for me. I'm a bit new at the php thing. I've uploaded the mailer.php and the swf form to my server, i changed the email address to mine, and when i tested it, i got no replies. am i missing something?
robbing this one ;p
Wow, this is very helpful for someone like me who is afraid of PHP, and needs a simple practical example to get started.
Martinez, I have a second scenario in my mind ... a user takes a long time to write a message and subject, email links, then he clicks the "clear form" button by mistake and all the info is gone :) That will be bad, I think clearing the fields manually would not take very long (if is needed).
Adrian...why don't you add a reset button coz in a scenario where many fields are involved the user has to actually erase mistakes manually..
Fedemart, it is a bit complicated if you do not have some flash skills, you need to modify the flash file to duplicate teh text fields, then modify the php file to catch the additional variables (field names) and include them in the message, I suggest that you get a flash designer or web developer to help you with this customization.
I download it and it works just fine. The problem is that I need more fields in the form. How could I manage to do that? Maybe someone could help me out with the scripts.
Thanks.
Fede.