PDA

View Full Version : ((( Know How to Redirect after Submit)))



PBz.biz
02-11-2006, 04:45 AM
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 (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.

warwickplates
03-09-2006, 08:48 PM
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.