need help! plz
| From: | Hooman Fatoorehchi | Date: | Mon, 24 Mar 2008 11:04:00 +0000 |
| Subject: | need help! plz | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28835@lists.php.net to get a copy of this message | ||
dear all,
I want to make a form-to-email page and I want to diplay a messagebox after
the mail is send and then I want it to be redirected to another page. I used
JS for the msgbox but the header function wont work in this case. please
help me!
here is the code
...
mail( "m <bomber6man@yahoo.com>e@mysite.com", "Feedbacks",$message,
"From:
$email" );
echo "<script language=javascript>alert('Your message was sent
successfully!');</script>";
header( 'Location: http://www.blah blah.com" ) ;
?>
thank you
Hooman