<?php
////////// USTAWIENIA //////////
$email = 'xxx@gmail.com'; // Adres e-mail adresata
$subject = 'wpis'; // Temat listu
$message = 'Dziękujemy za wpis. początkowej treści MFC-RBD'; // Komunikat
$error = 'Wystąpił błąd, spróbuj ponownie.'; // Komunikat błędu
$charset = 'windows-1250'; // Strona kodowa
//////////////////////////////
$head =
"From: $_POST[Email]\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-Type: text/plain; charset=$charset\r\n" .
"Content-Transfer-Encoding: 8bit";
$body = '';
$rewrite = array('Data_urodzenia' => 'Data urodzenia');
foreach($_POST as $name => $value) {
$name = in_array($name, $rewrite) ?
$rewrite[$name] : $name; }
}
}
else {
}
?>