Flash Form Question
- Started
- Last post
- 10 Responses
- CyBrain
Maybe I'm missing something, but can anyone get this form to work.
http://www.kirupa.com/developer/…If not, can you refer me to a tutorial, example or any words of wisdom that actually works?
Please no anti-Flash silliness. Thanks.
- nuggler0
Senocular writes good tutorials, so I would expect it to work. It's old, though. AS2. What's it doing for you?
- CyBrain0
Well, I misunderstood the intent of the form. I thought the email address in the form was where the info was going to be sent to, but it's the email address FROM. The strange thing is that the form works even if you put nothing in that field.
- acescence0
nothing strange about that, the php script that sends the email doesn't check if a from address was entered.
- CyBrain0
I'm totally out of my league with this PHP stuff.
Here's my php: http://pastebin.com/t09ALUkG I adapted from the kirupa example. I don't really get the headers.And I get a php error from Safari's Activity window saying "...expects at most 5 parameters, 11 given at line 46"
- acescence0
all those extra variables you're trying to put in the mail function should be part of the message string.
also, those variables I assume are from the form, so they don't exist in your script, they are part of the post data that's sent to the form, so you need to access them like $_POST["introductionName"]
- Shaney0
I've emailed you a simple AS2 Flash form with PHP file
- Shaney0
sorry acescence, didn't know you were redoing the php....
- CyBrain0
Just one question.
I have a value being passed for email which should be showing up as the from address when the email is generated after submitting, but the from field is blank every time. Shouldn't $_POST["email"] be the email value I'm passing from Flash? It's tracing properly in Flash.