Skrypt wygląda tak. Jeśli możecie mi doradzic co zmienic , i dokładnie w którym miejscu - będę bardzo wdzięczny.
<?php include 'freecontactformsettings.php'; function died($error) { } ) { died('Niestety występuje problem w formularzu.'); } $full_name = $_POST['Full_Name']; // required $email_from = $_POST['Email_Address']; // required $telephone = $_POST['Telephone_Number']; // not required $comments = $_POST['Your_Message']; // required $antispam = $_POST['AntiSpam']; // required $error_message = ""; $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/'; $error_message .= 'Wprowadzony adres e-mail nie jest poprawny.<br />'; } $error_message .= 'Nazwisko zostało błędnie wpisanenie.<br />'; } $error_message .= 'Wpisz wiadomość.<br />'; } if($antispam <> $antispam_answer) { $error_message .= 'Odpowiedź na pytanie nie jest prawidłowa.<br />'; } died($error_message); } $email_message = "Wiadomość wysłana ze strony wykrojekrawieckie.pl.\r\n"; function clean_string($string) { } $email_message .= "Imię i nazwisko: ".clean_string($full_name)."\r\n"; $email_message .= "e-mail: ".clean_string($email_from)."\r\n"; $email_message .= "Telefon: ".clean_string($telephone)."\r\n"; $email_message .= "Wiadomość: ".clean_string($comments)."\r\n"; $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . ?> <?php } ?>