Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

php webforms query

Options
  • 20-05-2004 3:25pm
    #1
    Closed Accounts Posts: 28


    Hi there,
    I'm looking to create a webform with some fields and when people submit it send the info to a mailbox.
    is there a quick way to do this?


Comments

  • Closed Accounts Posts: 99 ✭✭QBall


    Yes:

    [PHP]
    <?php
    if (defined($_POST) ... && defined($_POST)) {
    // Call the mail function here with the appropriate parameters
    } else {
    // Put code to print the HTML form to collect the fields you want
    // and make it do a HTTP POST back to this script.
    }
    ?>
    [/PHP]

    Alternatively you can STFW. There are lots of solutions out there. GIYF.


  • Registered Users Posts: 19,396 ✭✭✭✭Karoma


    There are tons out there . Check them up properly before using them, many are insecure...

    Kinda related: http://www.boards.ie/vbulletin/showthread.php?s=&threadid=160353


Advertisement