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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

php webforms query

  • 20-05-2004 2: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, Registered Users 2 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