$PAGE = "feedback";
include("./header.php");
function email_send(){
global $name, $email, $feedback;
$msg = "IGENT Feedback!!!
";
$msg .= "name:".$name."
";
$msg .= "email:".$email."
";
$msg .= "ip:".$_SERVER['REMOTE_ADDR']."
";
$msg .= "feedback:
".str_replace("\n","
",$feedback)."
";
$headers = "From: IGENT website\n";
$headers .= "MIME-Version: 1.42\n";
$headers .= "Content-Type: text/html; charset=EUC-KR\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$body = str_replace('\\"', '"', $msg);
$body = str_replace("\\'", "'", $body);
mail("biznok@gmail.com", "IGENT : feedback", $body, $headers);
}
?>