Hello
I found some great php code on this site yet I have a question.
regarding the php script below:
<?php
$to = "orders@babyresume.com";
$subject = "Contact Us";
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$headers = "From: $email";
$sent = mail($to, $subject, $message, $headers) ;
if($sent)
{print "Your mail was sent successfully"; }
else
{print "We encountered an error sending your mail"; }
?>
The final output once email successfully is to print to the screen.
Is there a way to re-direct the succesful output to a url , if so , can I get an example?
Thanks
Tomj