Php Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • CDBASE7211
    Staff Sergeant

    • Mar 2006
    • 46

    Php Script

    Hi

    Here are 2 scripts I am using on my forms..I am still getting blank emails

    Anyone Shed any light? I posted in forms but think it may have been the wrong place

    1st
    www.nationwidemovingpros.com/order.html

    <HTML>
    <HEAD>
    <TITLE>There is one more step until we process your order</TITLE>
    </HEAD>
    <BODY>
    <H2>You are now being redirected to payment processing!</H2>
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "order@nationwidemovingpros.com";
    $mailsubj = "From the OrderForm";
    $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);
    </SCRIPT>
    <META HTTP-EQUIV="Refresh" Content="0; URL=thank_you.html">
    ?>
    </BODY>
    </HTML>

    2nd- www.nationwidemovingpros.com/contact.html
    <HTML>
    <HEAD>
    <TITLE>CONTACT CONFIRMED</TITLE>
    </HEAD>
    <BODY>
    <H2>ONE MOMENT PLEASE</H2>
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "info@nationwidemovingpros.com";
    $mailsubj = "From the 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);
    </SCRIPT>
    <META HTTP-EQUIV="Refresh" Content="0; URL=contact_confirm.html">
    ?>
    </BODY>
    </HTML>

    any insight would be greatly appreciated!
    www.nationwidemovingpros.com
    Nationwide Moving Pros- Your Answer For Moving Labor Help!

    www.mymovingconnection.com
    Where Service Providers & Customers Meet!
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Php Script

    Your answers are in the other thread you have also posted. Please do not make multiple posts on the same subject.
    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