If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2012
    Member #
    here is what my contact form looks like

    <form action="#"><span>Name</span><input type="text" name="name" class="name" /><span>Email</span><input type="text" name="email" class="email" />
    <span>Message</span><textarea class="message"></textarea><input type="submit" name="submit" value="Submit" class="submit" /></form></div>

    here is the actual website
    the contact form is at the bottom.

    So basically what i have been doing is downloading scripts and linking them to the form via the action tag. then uploading my php file to my server. I've tried about 10 different scripts. some of them worked but didn't send the information in the email. so i got an email but i didn't get the message portion of it i only got the persons email. Some other scripts would work but they would say "there needs to be something written in the message field" or give me some other warning like "invaild email" even though i know that the email is valid and i did write in the message field

    So basically i have been getting php script, liking my email to the php then linking my contact form to the php but so far none of the scripts have worked properly, some don't work at all, and some work kinda, but not how i need them.

    Can someone please help


  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Cottage Grove, Minnesota
    Member #
    725 times
    <form action="contactme.php">
    <span>Name</span><input type="text" name="name" class="name" />
    <span>Email</span><input type="text" name="email" class="email" />
    <span>Message</span><textarea class="message"></textarea>
    <input type="submit" name="submit" value="Submit" class="submit" />

    The most basic email without any validation or captcha ...

    The PHP script called "contactme.php"
    PHP Code:


    $subject "Schertzer - Website - Contact";
    // where to go after it's sent.
    $redirect "./index.php";

    $useremail $_POST['email'];
    $username $_POST['name'];
    $fmessage $_POST['message'];

    $message "
    Schertzer - Website - Contact

    $extraheaders "From: $useremail \r\nReply-To: $useremail \r\n";

    if (! 
    "Mail did not send for some reason.";

    header("Location: ".$redirect);


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 04:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: