![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 112 Pomógł: 0 Dołączył: 16.01.2008 Ostrzeżenie: (0%) ![]() ![]() |
Czy funkcja mail() może mieć taką postać?
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="P. Jamorski" content="Przemysław Jamorski"> <!--<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="World of Warcraft"> <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 = "adres@poczty.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 zamownienie zlozone przez -> ".$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/nKlient wybral kontakt telefoniczny" } else { "/n/nKlient nie dokonał wyboru kontaktu" } if($_POST['check2']) { "/n/nKlient wybral kontakt email" } else { "/n/nKlient nie dokonał wyboru kontaktu" } ); // koniec deklaracji funcji mail() echo "Dane zamawiającego zostały wysane do firmy ..."."<a href="index.html">".strona główna."</a>"; ?> </body></html> -------------------- Chęci to nie wszystko, trzeba działać. B. Lee |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 36 557 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
-------------------- "Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista "Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 18:32 |