Announcement

Collapse
No announcement yet.

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

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

  • ((( 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.

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

    Thats great its just what I am after, however I understand the time element but not what name needs to go in the URL, is it the same name as my form or my website address.

    Comment

    Working...
    X