ПОМОГИТЕ ИЗМЕНИТЬ КОДИРОВКУ ФАЙЛА!!!
При заполнении формы русские буквы естественно на албанском
Код:
<?php
/* Your email adress should be here*/
$sendTo = "youremail@yourdomain.com";
/* Mail Topic */
$subject = "Message From Your Website";
$email =$_POST["emails"];
$header .= "Reply-To: <" . $email . ">\r\n";
$header .= "Return-Path: <" . $email . "> \r\n";
$header .= "From: <" . $email . "> \r\n";
$header .= "Organization: E-Bosch Servisi\r\n";
$header .= "Content-Type: text/plain\r\n";
$name = $_POST["namest"];
$name = mb_convert_encoding($name ,"iso-8859-9","utf-8\n");
$phone = $_POST["phones"];
$message = $_POST["messages"];
$message = mb_convert_encoding($message ,"iso-8859-9","utf-8\n");
$body = " Your Message \n \n Name: $name\n Phone: $phone\n Email: $email\n Message: $message\n";
mail($sendTo, $subject, $body, $headers);
?>