SunQuest
 
       Miscellaneous
  Home arrow Miscellaneous arrow Page 2 - Creating a Mail Form with PHP and Flash
Try It Free
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Forums Sitemap 
Dedicated Servers  
Download TestComplete 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MISCELLANEOUS

Creating a Mail Form with PHP and Flash
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 11
    2002-05-25

    Table of Contents:
  • Creating a Mail Form with PHP and Flash
  • The Form
  • Text Fields
  • Buttons
  • More Buttons
  • On to the PHP Code
  • Finishing it off

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
    Try It Free
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Creating a Mail Form with PHP and Flash - The Form


    (Page 2 of 7 )

    Open the source file and you will notice the following:

    The movie has 2 frames both with stop() actions within them. The first frame contains the form , the second frame has the thank you message. Now lets look at the form itself.

    The form has four text fields whose variable names from top to bottom are name, subject, message and e-mail.It also has 2 buttons, a send and a clear button, both with actions on them (we shall cover those later)

    More Miscellaneous Articles
    More By Codewalkers


       · 
       · 
       · thanks for the tutorial. it was very helpful.the email comes through but without...
       · Hi there,I think this tutorial was fantastic and I have used the Creating a Mail...
       · Hi Thanks for the quick and easy tutorial.. great jobbutI did everything right...
       · Ia have no subject no message no nothing it tells me you have email from...
       · 
       · THIS SCRIPT DOES NOT WORK AT ALL!!! It send you the email, but the email DOES NOT...
       · Okay the reason why it is not working is because in the form.php file. Instead of...
       · Even with the help above i still can't get this to work.Why are there so many...
       · The problem, as a previous poster said, is within the php coding.If you put it...
       · I have tested this email form with several browsers. It works with IE and Opera, but...
       · I tried this script step by step and i am totaly sure that there is nothing wrong...
       · 
       · Put this in your PHP Page. (Replace the e-mail address)<?$to =...
       · 
       · This goes in your PHP file.<?$to =...
       · made some adjustments so that things are a lot simpler. here's the new code, and new...
       · made some adjustments so that things are a lot simpler. here's the new code, and new...
       · I'm really to this but the problems with the emails being blank seem to be that the...
       · I'm really new to this but the problems with the emails being blank seem to be that...
       · I'm really new to this but the problems with the emails being blank seem to be that...
       · I'm really new to this but the problems with the emails being blank seem to be that...
       · I'm really new to this but I believe hat the variables 'name' and 'message' are...
       · I'm really new to this but the problems with the emails being blank seem to be that...
       · Slow wireless! grrrrr.....
       · Slow wireless! grrrrr.....
       · Slow wireless! grrrrr.....
       · Slow wireless! grrrrr.....
       · Answered my question.I had named the instances and assigned variables. Once I...
       · Thanks for this! I went searching for something like this on Google today (Dec 7,...
       · this will get the email info in its my first day doing this but I imagine you could...
       · Hi,I did everything like you said... But the flash code doesn´t work,...
       · I am receiving the email, can anyone please please help? The PHP file looks like...
       · I am receiving the email, can anyone please please help? The PHP file looks like...
       · Don't know why there is a double post, sorry, and I wrote that I am receiving the...
       · Don't know why there is a double post, sorry, and I wrote that I am receiving the...
       · Don't know why there is a double post, sorry, and I wrote that I am receiving the...
       · Hi,I finished the flashscript, but nothing works in the preview...
       · I was wondering do I need Flashmx, or 8 to follow this tutorial. I have dl the files...
       · New to the forum and I am a PHP 1st timer. I have a medium understanding of Flash. ...
       · New to the forum and I am a PHP 1st timer. I have a medium understanding of Flash. ...
       · The reason this script do not work, the php script dont load the post...
       · when i click to download the file source, it direct me to the whome page of the...
       · i had prepaired as per the tutorial but it is not working it is not going to php...
       · Hi there, I think this tutorial was fantastic and I have used the Creating a...
       · <?php$to = "you@yourdomain.com";$msg = "$name\n\n";$msg .= "$message\n\n";...
       · At last, with this last change, the script works perfectly, thank you very...
       · Hi Guys, Thank you for tutorials. I have spent all day try to figure out how to...
       · I have posted a request and no one is answering. could you please...
       · I'm experiencing the same problem. I've done some troubleshooting and replaced the...
       · The code works fine as is. The problem is that you names have to match exactly and...
       · I decided to get a little more direct so I replied to my own comment. Just copy...
       · So your code worked...HOWEVER, I'm still getting the html code for the font, font...
       · I see your problem but I need to reproduce it to fix it. Can you list every code you...
       · <?php$to = "studio26seattle@gmail.com";$msg = "Name of sender: $name\n\n";$msg...
       · So this one worked the closest. But the font size is too big.(Click here to see...
       · I'm glad the fixes for the code are working for ya! After testing that, the only...
       · Me again. So it appears to be problematic when I send the emails to gmail or...
       · Hi Thank you for your help. however, I have tried several time but still have...
       · So it wasn't my font size that was set incorrectly. I had the size at 11...
       · I have sent a comments on this subject but its on....can the admin let me know where...
       · <?php$msg = "E-mail sent from www.yourwebsite.com\n\n";$msg .= "Name: $name...
       · Hi Thank you for your help, however, its the new code is not bringing anything...
     

    MISCELLANEOUS ARTICLES

    - Stopping CSRF Attacks in Your PHP Applicatio...
    - Quick and Dirty AJAX Tutorial
    - Flickr Puzzle Mashup
    - The PAVISE of Security
    - Creating a CAPTCHA with PHP
    - Sending SMS Thru HTTP
    - The Postal Fix - Part 2
    - Adding Mail with Exim
    - The Postal Fix - Part 1
    - Create Your Own Custom API
    - Adding Drop Shadows with PHP
    - Writing a Basic Authentication System in PHP
    - Overlapping Images with GD
    - Using Sockets in PHP
    - Dynamic CSS with PHP





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway