Kod
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>F.U. Blue Angel</title>
<meta name="" content="">
<!--<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">-->
<meta HTTP-EQUIV="Content-type" content="text/html; charset=Windows-1250">
<meta name="Authoring-tool" content="Notepad & Crimson Editor">
<meta name="keywords" content="">
<meta name="description" content="Nieoficjalna strona WoW">
<link REL="stylesheet" href="style.css" type="text/css">
</head>
<body alink="yellow" vlink="0099FF">
<?php
$email_company = "sdres@interia.pl";
$temat = "Klient indywidualny";
$name_person = $_POST['imie1'];
$surname_person = $_POST['nazwisko1'];
$email_person = $_POST['email1'];
$phone_person = $_POST['telefon1'];
$text = $_POST['wiadomosc1'];
mail($email_company,$temat,
"/t/t/t wiadomosc -> ".$temat.
"/n*****************************************".
"/n/nImie - ".$name_person.
"/n*****************************************".
"/nNazwisko - ".surname_person.
"/n*****************************************".
"/nemal - ".$email_person.
"/n*****************************************".
"/ntelefon - ".phone_person.
"/n*****************************************".
"/nwiadomosc - "$text.
"/n*****************************************".
if($_POST['check1'])
{
"/n/nkontakt telefoniczny"
}
else
{
"/n/nnie dokonał wyboru kontaktu"
}
if($_POST['check2'])
{
"/n/nkontakt email"
}
else
{
"/n/nnie dokonał wyboru kontaktu"
}
); // koniec deklaracji funcji mail()
echo "Dane zamawiającego zostały wysane ..."."<a href="index.html">".strona główna."</a>";
?>
</body></html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>F.U. Blue Angel</title>
<meta name="" content="">
<!--<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">-->
<meta HTTP-EQUIV="Content-type" content="text/html; charset=Windows-1250">
<meta name="Authoring-tool" content="Notepad & Crimson Editor">
<meta name="keywords" content="">
<meta name="description" content="Nieoficjalna strona WoW">
<link REL="stylesheet" href="style.css" type="text/css">
</head>
<body alink="yellow" vlink="0099FF">
<?php
$email_company = "sdres@interia.pl";
$temat = "Klient indywidualny";
$name_person = $_POST['imie1'];
$surname_person = $_POST['nazwisko1'];
$email_person = $_POST['email1'];
$phone_person = $_POST['telefon1'];
$text = $_POST['wiadomosc1'];
mail($email_company,$temat,
"/t/t/t wiadomosc -> ".$temat.
"/n*****************************************".
"/n/nImie - ".$name_person.
"/n*****************************************".
"/nNazwisko - ".surname_person.
"/n*****************************************".
"/nemal - ".$email_person.
"/n*****************************************".
"/ntelefon - ".phone_person.
"/n*****************************************".
"/nwiadomosc - "$text.
"/n*****************************************".
if($_POST['check1'])
{
"/n/nkontakt telefoniczny"
}
else
{
"/n/nnie dokonał wyboru kontaktu"
}
if($_POST['check2'])
{
"/n/nkontakt email"
}
else
{
"/n/nnie dokonał wyboru kontaktu"
}
); // koniec deklaracji funcji mail()
echo "Dane zamawiającego zostały wysane ..."."<a href="index.html">".strona główna."</a>";
?>
</body></html>