提交表单后,我无法重定向到成功页面。
<?php
ob_start();
?>
<title>Feel Free to send us your Thoughts</title>
<?php
$to ='sanaullahkhan81@gmail.com';
$name =$_POST['name'];
$email =$_POST['email'];
$message =$_POST['message'];
$subject ='Enquiry using Contact us page from: '.$name ;
$actul_msg ='A Message from Contact Us Page'. "\n".'Name: '.$name."\n".' Eamil:
'.$email."\n" .' Enquiry: '.$message;
mail($to,$subject,$actul_msg);
header('Location: sucessfully_submitted.html');
ob_end_clean();
?>
这是一个链接
成功页面的链接这里是一个链接