Announcement

Collapse
No announcement yet.

not receiving fields in form email

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

  • not receiving fields in form email

    having the following issues:

    any help would be great!!

    1- not receiving form fields in email- just receiving:
    values submitted from website:

    2- sometimes it does not allow me to click in the form field to complete form

    Here is my php script:
    <HTML>
    <HEAD>
    <TITLE>Serenity Moving Services</TITLE>
    </HEAD>
    <BODY>
    <H2>We Look Forward To Servicing You!</H2>

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "order@serenitymovingservices.com";
    $mailsubj = "Free Quote Request";
    $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";
    echo $key." : ".$val."<br />";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    </SCRIPT>
    <META HTTP-EQUIV="Refresh" Content="0; URL=contact-serenity-moving-thank-you.html">
    ?>
    </BODY>
    </HTML>
    www.nationwidemovingpros.com
    Nationwide Moving Pros- Your Answer For Moving Labor Help!

    www.mymovingconnection.com
    Where Service Providers & Customers Meet!

  • #2
    Re: not receiving fields in form email

    so the email isn't listing it in the following format

    field name : value entered

    ?

    also you can take out the

    echo $key." : ".$val."<br />";

    as well as

    </SCRIPT>

    as well as move the ?> before <META line


    As to why sometimes it doesnt let you click inside the fields sometimes, im guessing its a problem with your browser since its not all the time.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment


    • #3
      Re: not receiving fields in form email

      You can't always click in the fields because you have the title text covering part of your fields. If you click towards the right part, it is ok, if you click towards the left part (not in all of them) you cannot click.

      As for not receiving the values, i don't know what could be wrong. I suggest that you replace the script with this:

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

      $mailto = "order@example.com";
      $mailsubj = "
      Enter Your Subject Here";
      $mailhead = "From: $email\n";
      reset ($HTTP_POST_VARS);
      $mailbody = "Values submitted from web site form :\n";
      while (list ($key, $val) = each ($HTTP_POST_VARS))
      {
      if ($key!="submit")
      {
      $mailbody .= "$key : $val\n";
      }
      }
      mail($mailto, $mailsubj, $mailbody, $mailhead);


      header("Location: contact-serenity-moving-thank-you.html");


      ?>

      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


      • #4
        Re: not receiving fields in form email

        Thanks

        I fixed the text ..thanks naval!!

        also I changed the script however - this is the message I'm receiving:


        Warning: Cannot modify header information - headers already sent by (output started at /home/tkcztmqm/public_html/serenitymovingservices/free.php:2) in /home/tkcztmqm/public_html/serenitymovingservices/free.php on line 18
        www.nationwidemovingpros.com
        Nationwide Moving Pros- Your Answer For Moving Labor Help!

        www.mymovingconnection.com
        Where Service Providers & Customers Meet!

        Comment


        • #5
          Re: not receiving fields in form email

          If you wish, use my form to send me your login details, and i will fix it for you, if you haven't fixed that yet.
          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


          • #6
            Re: not receiving fields in form email

            put ob_start(); at the top of the page, right after <?PHP

            Register/Login Script
            Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

            Comment

            Working...
            X