Get form details sent directly to you?

Discussion in 'HTML & Website Design' started by Jords18K, Sep 22, 2014.

  1. #1
    I'm having trouble getting my form details sent to my email.

    I understand I have to put <form action="contact.php"> into the html of my form and then some sort of script goes into a file named contact.php but I'm having trouble as to what script.

    I've tried 1 or 2 and they didnt work, I dont need a long script that blocks spam or displays error messages, I JUST need a script that will send the contents of my form to my email.

    This is my HTML code if you are interested
    <form action="contact.php" method="post" enctype="text/plain">
    <div class="size">Email</div> <input type="text" name="email"><br>
    <div class="size">Password</div><input type="password" name="pwd">
    <div class="logincon"><input type="image" src="css/images/login.png" value="submit" /></div><br><br>
    </form>

    BTW why can't you get quote tage here? :p
    Thanks for any help!
     
    Jords18K, Sep 22, 2014 IP