Jump to content

Recommended Posts

I narrowed it down to this

 

There is an error processing the php in the page's portion that processes if(!empty($_POST)) and some how th epage won't render

 

any one see the error (its syntaxical)

 

 

<?Php
if(!empty($_POST)){

		$subject = "New Foreclosure Specialist Inquery made at ".EMAIL_DOMAIN;
			$headers = "From: info@".EMAIL_DOMAIN." <info@".EMAIL_DOMAIN.">\r\n";
			$headers .= "Reply-To: info@".EMALI_DOMAIN."\r\n";
			$headers .= "Return-Path: info@".EMAIL_DOMAIN."\r\n";
			$headers .= "BCC: hr@".EMAIL_DOMAIN."\r\n";
			$headers .= "X-Mailer: PHP/".phpversion()."\r\n";
			$message = "Form Submitted from your personal homagepage at ".EMAIL_DOMAIN." at ".date('m-d-y, g:i:s')."\r\n
You can review all forms sent from your homepage by going to http://www.savemyhomeusa.com/cpanel.php \r\n\r\n
Information:\r\n\r\n
Name: ".$_POST['firstname']." ".$_POST['lastname']."\r\n
Email: ".$_POST['email']."\r\n
Phone: ".$_POST['phone']."\r\n
Best Time to Call: ".$_POST['calltime']."\r\n
Mortgage Status: ".$_POST['status']."\r\n
Problem:\r\n".$_POST['problem']."\r\n\r\n\r\n
Thank You,\r\n
savemyhomeusa.com staff.\r\n\r\n\r\n
This is a server generated emali please do not respond to it.";
		if(mail($row['Email1'],$subject,$message,$headers)){
			echo "<br /><Br />Your message has been sent.<br /><Br />";
				$_SESSION['Visitor']['FS_Form'] = "1";
		}
		else{
			echo "<br /><br />There was an error sending your message.<br /><br />";
		}

	}
?>

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.