Loading contact.php +3 −2 Original line number Diff line number Diff line Loading @@ -9,14 +9,15 @@ if(!isset($_POST['message']) || $_POST['message'] == '' || $_POST['firstname'] if(!isset($_POST['email']) || $_POST['email'] == '') { $_POST['email']='Annonymus@knightsofnii.com'; } if(isset($_POST['nom']) && $_POST['nom'] != '') { if(!isset($_POST['nom']) || $_POST['nom'] == '') { $_POST['nom']='Annonymus'; } if(empty($_POST['firstname']) && empty($_POST['lastname'])) { $to = 'admin@knightsofnii.com'; $subject = 'Real message from nii page !'; $message = $_POST['message']." ".$contact; $message = $_POST['message']." \r\n from: ".$_POST['nom']." \r\n mail: ".$_POST['email']; $send = mail($to, $subject, $message, " Message from main server page ! (or very smart bot)"); ($send ? $send = 1 : $send = 0); Loading Loading
contact.php +3 −2 Original line number Diff line number Diff line Loading @@ -9,14 +9,15 @@ if(!isset($_POST['message']) || $_POST['message'] == '' || $_POST['firstname'] if(!isset($_POST['email']) || $_POST['email'] == '') { $_POST['email']='Annonymus@knightsofnii.com'; } if(isset($_POST['nom']) && $_POST['nom'] != '') { if(!isset($_POST['nom']) || $_POST['nom'] == '') { $_POST['nom']='Annonymus'; } if(empty($_POST['firstname']) && empty($_POST['lastname'])) { $to = 'admin@knightsofnii.com'; $subject = 'Real message from nii page !'; $message = $_POST['message']." ".$contact; $message = $_POST['message']." \r\n from: ".$_POST['nom']." \r\n mail: ".$_POST['email']; $send = mail($to, $subject, $message, " Message from main server page ! (or very smart bot)"); ($send ? $send = 1 : $send = 0); Loading