Skip to main content

Flash Form Question 1010 Responses

Last post: 2 years, 5 months ago | Thread started: Nov 26, 10, 5:54 p.m.

RespondNew TopicDisable Images

  • 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.

    Nov 26, 10, 5:54 p.m. – Permalink
  • nuggler

    Senocular writes good tutorials, so I would expect it to work. It's old, though. AS2. What's it doing for you?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 6:02 p.m. – Permalink
  • CyBrain

    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.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 8:22 p.m. – Permalink
  • acescence

    nothing strange about that, the php script that sends the email doesn't check if a from address was entered.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 9:09 p.m. – Permalink
  • CyBrain

    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"

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 9:34 p.m. – Permalink
  • acescence

    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"]

    • Thanks, I'll give that a shot.CyBrain
    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 9:57 p.m. – Permalink
  • Shaney

    I've emailed you a simple AS2 Flash form with PHP file

    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 10:02 p.m. – Permalink
  • acescence

    http://pastebin.com/BhfESw8B

    • That did the trick so far. Thanks!CyBrain
    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 10:02 p.m. – Permalink
  • Shaney

    sorry acescence, didn't know you were redoing the php....

    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 10:04 p.m. – Permalink
  • honestIy

    http://i.imgur.com/gjLo4.jpg

    • If you have a PHP sneaker for the right foot, I'd really be in great shape.CyBrain
    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 26, 10, 10:11 p.m. – Permalink
  • CyBrain

    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.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earNov 27, 10, 12:13 a.m. – Permalink

Login or Register to respond to this

Skip to main content