Sending email contact form from flash using PHP

fllrfth

New Member
Messages
23
Reaction score
0
Points
0
Greetings,


Scenario: Contact form with name: email: and message box input already created in flash but trying to script it to mail via php mail function to an existing email address and return to an Thank you area/page. Tried a few tutorials but unable to get the form to work. Any suggestions would be greatly appreciated.


Thanks.
 

spadija

New Member
Messages
48
Reaction score
1
Points
0
I'm not familiar with Flash at all, but I do know Flash can communicate with JavaScript. You could try placing a hidden HTML form on your page, then using JavaScript or some other method to copy the form values from Flash over to the hidden form and submit it. There might also be some way of sending a POST request directly from Flash, but again, I don't know what you can and can't do with Flash.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Any suggestions would be greatly appreciated.
Tell us exactly what is and where it is going wrong. Is the form not getting submitted to the form handler? Then try (for example) Tizag's flash form tutorial. Is the form handler not mailing the message? Is the browser sent to the "Thank You" page?

In general, when asking for help you should specify what you want to happen and what is actually happening, including any error messages. When asking about code, include a minimal test case and links to live pages. We need to be able to recreate the problem so that we can diagnose it.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
why would you need flash to make a form? :/

~Callum
 
Top