if (!isset($bylo)) $skad = $refer;
require "nnagl.html";
$tytul="Poczta";?>
require "podtyt.html";
$mail_err = "";
?>
if (isset($bylo)) {
if (empty($temat)) $mail_err .= "Nie podano tematu.
"; else {
if ($temat=="Pytanie") $mail_err .= "Proszę zmienić temat na inny!";
}
if (empty($nazwisko)) $mail_err .= "Nie podano imienia i nazwiska.
";
if (empty($adres)) $mail_err .= "Nie podano adresu zwrotnego.
";
if (empty($tresc)) $mail_err .= "Nie podano treści listu.
";
if (!empty($mail_err)) echo "Nie wypełniono wszystkich danych ! $mail_err
|
";
else {
mail("kamil@dbf.pl", "$temat", "$tresc \n\n-- Ze strony.",
"From: $nazwisko <$adres>\nReply-To: $adres\n".
"Content-Type: text/plain; charset=\"iso-8859-2\"\n");
// wysyłanie poczty
echo "Poczta poszła! |
";
?>
|
[Strona główna]
[Powrót]
|