Announcement

Collapse
No announcement yet.

Form doesn't send info. Please help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Form doesn't send info. Please help

    I have been through the tutorials many times and have constructed a form located at
    http://www.scott.walksthehealthypath.com/contact.html

    I am using the following contact.php

    <HTML>
    <HEAD>
    <TITLE>We are currently processing your form</TITLE>
    </HEAD>
    <BODY>
    <H2>Thanks for your request</H2>

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "tiaki@charter.net";
    $mailsubj = "contact";
    $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>
    </HTML>

    I am really confused. I just don't understand why it won't send the information.

    Thanks in Advance

  • #2
    Re: Form doesn't send info. Please help

    Originally posted by tiaki
    I have been through the tutorials many times and have constructed a form located at
    http://www.scott.walksthehealthypath.com/contact.html

    I am using the following contact.php

    <HTML>
    <HEAD>
    <TITLE>We are currently processing your form</TITLE>
    </HEAD>
    <BODY>
    <H2>Thanks for your request</H2>

    <?PHP
    $email = $HTTP_POST_VARS[email];

    $mailto = "tiaki@charter.net";
    $mailsubj = "contact";
    $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>
    </HTML>

    I am really confused. I just don't understand why it won't send the information.

    Thanks in Advance

    Change the email address with your email address on your Vodahost account.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X