E-mail form problems

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

    • Oct 2005
    • 3

    E-mail form problems

    The following php script is in my public.html folder. 3 problems.
    1. I do not recieve the information to my e-mail from the form
    2. Once the form is filled in, it redirects me to the index.php page but not back to the main page.
    3. By clicking the browsers back button, I can return to the main page but the form still has the filled information. It is not re-setting itself.


    I AM USING THE FORM RIGHT ON THE MAIN(INDEX PAGE OF MY SITE). IT IS NOT ON A SEPERATE PAGE.

    Can someone help me figure this out. Thanks


    <HTML>
    <HEAD>
    <TITLE>Thank You for requesting an Interview</TITLE>
    </HEAD>
    <BODY>
    <H2>Thank You for requesting an Interview</H2>
    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "mchurchill@prosperityourway.com";
    $mailsubj = "contact us 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>
  • VodaHost
    General & Forum Administrator

    • Mar 2005
    • 12356

    #2
    please visit the below thread to learn more about forms

    Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    • prosper
      Private

      • Oct 2005
      • 3

      #3
      Is there anybody out there who can help me???? Here's what I need to do.....
      1. Have the subscriber fill in the form for the information
      2. press the "contact us" button and then a pop up would come up saying "thank You for your request". Without leaving the index page and no security warnings popping up after they hit the button.
      3.the form would then be cleared and the information would be sent to our e-mail in outlook express.

      PLEASE, PLEASE, SOMEONE HELP US we are not getting it and we've tried everything we can think of including reading all tutorials several times. Anybody have a script.

      Comment

      • VodaHost
        General & Forum Administrator

        • Mar 2005
        • 12356

        #4
        Listen mate....what you are asking requires a bit of Java , your best bet is to google it. You will find plenty of free script that will take care of this need.

        VodaHost

        Your Website People!
        1-302-283-3777 North America / International
        02036089024 / United Kingdom
        291916438 / Australia

        ------------------------

        Top 3 Best Sellers

        Web Hosting - Unlimited disk space & bandwidth.

        Reseller Hosting - Start your own web hosting business.

        Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


        Comment

        Working...
        X