Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Help: Contact Form not working in WordPress.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30804
    Anonymous
    Inactive

    I do not know enough about PHP to figure out what is wrong with my contact form. I’m hoping someone can help me fix my contact form. I’m sure it must be a simple fix but can’t figure out what that fix would be.

    View the form here:
    http://aarongmoore.com/contact/

    This is the form’s code:






    $name = $_REQUEST ;
    $email = $_REQUEST ;
    $message = $_REQUEST ;
    $subject = $_REQUEST ;
    require_once('recaptchalib.php');
    $privatekey = "6LcHMr0SAAAAABP9Yj_8lTa4b9mKqoel4JInB5ui";
    $resp = recaptcha_check_answer ($privatekey,
    $_SERVER["REMOTE_ADDR"],
    $_POST["recaptcha_challenge_field"],
    $_POST["recaptcha_response_field"]);
    ?>

    header( "Location: http://www.aarongmoore.com/contact/");
    die; } ?>


    ERROR

    E-Mail or message field(s) empty.


    is_valid) { ?>
    ERROR

    reCaptcha was not filled in correctly.


    die; } ?>






    #67909
    cybershot
    Participant

    do you get any errors? click on the view source and read the page to see if there are any php errors. Also you might try using worpdress mail function.

    http://codex.wordpress.org/Function_Reference/wp_mail

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.