Results 1 to 4 of 4

Thread: An email form problem
      
   

  1. #1
    christian_woman is offline Sergeant
    Join Date
    Sep 2005
    Posts
    32

    Question An email form problem

    I seem to being missing something. When I hit submit nothing happens.
    page is named /contact.html
    I fixed the form to be
    Action: contact.php
    Method: Post
    Removed text/plain so field empty
    Created a contact.php in notebook and uploaded
    Here's the code on the contact.php


    <HEAD>
    <TITLE>Thank you</TITLE>
    </HEAD>
    <BODY>
    <H2>Than you!!</H2>
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "writer@christianwomensurvey.com";
    $mailsubj = "Contact Form";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form:\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>
    </BODY>
    </HEAD>

    Where have I gone wrong? Thank you

  2. #2
    rdarko's Avatar
    rdarko is offline First Lieutenant
    Join Date
    Jul 2005
    Location
    UK
    Posts
    172

    Post

    Can you post the link to your site so we can see where you're going wrong.
    Ruth

    http://www.okose.com
    Professional Web design/development and Graphic Design

  3. #3
    christian_woman is offline Sergeant
    Join Date
    Sep 2005
    Posts
    32

    Thumbs up

    Ruthie,
    Thanks for getting back to me. This problem was puzzling me for a couple of days. Somehow it started working about 10 minutes ago. I don't know why...I think part of the problem was thatI couldn't get the fifth page (contact) page to launch which after two days I was able to launch and the fifth nav button on the index page is now able to work. Now that it is published, the submit button seems to be working too. I'm sure there's a good algorythmic reason, but it must be those good vibes from Blue Voda geniuses. My web site is finished! Yea!

  4. #4
    rdarko's Avatar
    rdarko is offline First Lieutenant
    Join Date
    Jul 2005
    Location
    UK
    Posts
    172

    Thumbs up

    Glad to hear it.

    Well done.
    Ruth

    http://www.okose.com
    Professional Web design/development and Graphic Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. paypal submit problem and email form?
    By Tristan in forum Forms
    Replies: 4
    Last Post: 11-14-2005, 05:39 PM
  2. Difficult to click on boxes on my email form
    By Tristan in forum Email Problems (POP, SMTP & Webmail)
    Replies: 1
    Last Post: 11-12-2005, 01:33 AM
  3. cPanel email problem
    By Lisa in forum Email Problems (POP, SMTP & Webmail)
    Replies: 14
    Last Post: 07-18-2005, 02:24 PM
  4. Creating a email form !
    By aliale in forum General Support Issues
    Replies: 1
    Last Post: 07-13-2005, 01:03 PM
  5. Email links problem - help !!!!
    By bounce in forum General Support Issues
    Replies: 1
    Last Post: 06-16-2005, 06:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49