php页面跳转 怎么写
<?php
$arr['mail_to']="lianglei@help.cn"; //目的地邮箱
$arr['mail_from']="lianglei@help.cn"; //源邮箱
$arr['mail_subject']="subject"; //邮件标题
$arr['mail_body']= "name:"+$_POST['txtName']+" City:"+$_POST['txtCity']+" Message:"+$_POST['txtMessage']+" Country:"+$_POST['txtCountry']+" Tel:"+$_POST['txtTel']+" Email:"+$_POST['txtEmail']; //邮件正文
$arr['is_html']=Flase; //是否html邮件,是或否
em_local_send($arr);
function em_local_send($arr){
$mail_to = $arr['mail_to'];
$mail_from = $arr['mail_from']=="" ? 'lianglei@help.cn' : $arr['mail_from'];
$mail_subject = $arr['mail_subject'];
$mail_body = $arr['mail_body'];
$is_html = $arr['is_html'];
$header = "";
if ($is_html){
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/html; charset=UTF-8\r\n";
$header .= "To: $mail_to\r\n";
}
$header .= "From: $mail_from\r\n";
$header .= "Reply-To: $mail_from\r\n";
$header .= "X-Mailer: Heiyeluren-Mailer\r\n";
return mail($mail_to, $mail_subject, $mail_body, $header);
}
?>
我想在这后面加句页面跳转 谢谢
还有个问题 就是 $arr['mail_body'] 内容为什么不是上页表单里填的东西 而且连 我手写的字符串都没有 值为:738或 369或0?请高手指点