0
현재 내 코딩은 데이터를 전자 메일로 푸시하는 PHP에 대한 게시 명령을 수행합니다. 나중에 서버가 전자 메일을 URL로 보낸 후 리디렉션하는 방법을 찾고 있습니다.양식 제출 후 어떻게 재전송 할 수 있습니까?
<?php
$email_from = '[email protected]';
$email_subject = "New Form submission";
$email_body = "You have received a new insurance enquiry from $firstname $lastname $gender born on $dobday $dobmonth $dobyear $smoker is after $insurtype
They want to cover $cover,000 for $years years for $meandpartner
Contact information:
Mobile: $mobile
Telephone: $landline
E-mail: $email
Street: $street
City: $city
Postcode: $postcode
Partner details:
$pfirstname
$plastname
$pgender
$pdobday $pdobmonth $pdobyear
$psmoker
" ?>
<?php
$to = "[email protected]";
$headers = "From: $email_from \r\n";
$headers .= "Reply-To: [email protected]";
mail($to,$email_subject,$email_body,$headers);
?>
감사합니다, 그러나 나는 오류 : 경고 : 헤더 정보를 수정할 수 없습니다 - 이미가 보낸 헤더를
더 많은 정보 여기를 (/ home/quotethemarket/public_html/slider/ionRangeSliderDemo/actio의 /home/quotethemarket/public_html/slider/ionRangeSliderDemo/action_life_insurance.php:40에서 출력이 시작되었습니다.) n_life_insurance.php on line 71 – Mike
고마워, 나는 잘못 했어, 지금은 효과가있다! – Mike