PDA

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



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

Watdaflip
02-11-2006, 06:00 AM
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