((( Know How to Redirect after Submit)))

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • PBz.biz
    Corporal

    • Sep 2005
    • 16

    ((( Know How to Redirect after Submit)))

    I found out how to do it!!!

    Exact bluevoda php code:
    (Red are my Entered Values)
    -------------------------------------------------------------------------------------------------------------------

    <HTML>
    <HEAD>
    <TITLE>Succesfully processed your order</TITLE>
    </HEAD>
    <BODY>
    <H2>Thank you for Contacting us - Please Click your Back Button!</H2>

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "franktjr@familyrealtyinvestments.com";
    $mailsubj = "From the 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);
    </SCRIPT>
    <META HTTP-EQUIV="Refresh" Content="0; URL=contact_us.html">
    ?>
    </BODY>
    </HTML>
    ------------------------------------------------------------------------------------------------------------

    I Just added this Code and Put it Exactly where it is:

    Replace the Red with your Values:

    </SCRIPT>
    <META HTTP-EQUIV="Refresh" Content="0; URL=contact_us.html">

    I Hope this Helps anyone Out there!!!

    Have a Good One!
    Francisco T, Jr.
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: ((( Know How to Redirect after Submit)))

    That </script> shouldn't be there...

    Also for those who want to know, in content="0, the number is the time the page will wait until it redirects

    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