PHP Form

  • Started
  • Last post
  • 1 Response
  • #remedy

    Hello Folks

    I am looking for a fast PHP Script which is capable to take data from SWF coded Form and which will transfer it to a mail account. I found some things on Hotscripts... Unfortunately I wasn't happy with itl.

    Input would be nice.

    Regards, #remedy

    Essential Dreams active media

  • enobrev0

    //should get you started
    $from =
    $to = $_GET['to_email'];
    $subject = $_GET['subject'];
    $message = $_GET['message'];

    mail($to, $subject, $message, 'From: ' . $from);

    // you'll want to check your data as well as check that the form data is sent from your form (via ip check or something) but that's the barebones basics of a mail script that sends according to parameters sent from elsewhere (ie flash)

    good luck!