Jump to content

flash contact form


jessmolchan

Recommended Posts

Well, the form itself will have to be written in HTML. http://www.w3schools.com/html/html_forms.aspThe actual form processing and the contact part, will be done in PHP.http://www.w3schools.com/php/php_mail.asp

Link to comment
Share on other sites

Well, the form itself will have to be written in HTML. http://www.w3schools.com/html/html_forms.aspThe actual form processing and the contact part, will be done in PHP.http://www.w3schools.com/php/php_mail.asp
But I can't put html in a flash document….can I?? Plus, I already have a form with text fields laid out, I just need to be able to take the information that is entered and send it to an email address…Thank you!
Link to comment
Share on other sites

sorry, I was under the impression you wanted to use PHP instead of Flash.I'm not too well versed with AS/Flash at all, but a quick google search turned up some promising results.http://www.google.com/#sclient=psy&hl=...895b6108693d27eIt appears you need to use a method called LoadVars, which will accept the php script to send the form content to and the method (POST or GET). It similar in structure to how the <form> tag is written in HTML (i.e. the action and method attributes).From there, you can process the contact information in the PHP script by check the POST or GET array, and then using the mail function to send the email. Here's one link outlining the process....http://www.actionscript.org/forums/showthread.php3?p=820701Hope that helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...