Jump to content

Form action path vs an anchor's reference?


cooldude832

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 />";
		}

	}
?>

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.