if ($_SERVER['REQUEST_METHOD']=="POST") { // Incoming Form Transmission $FullName=$_POST["FullName"]; $email=$_POST["email"]; $Phone=$_POST["Phone"]; $Fax=$_POST["Fax"]; $StreetAddress=$_POST["StreetAddress"]; $City=$_POST["City"]; $State=$_POST["State"]; $ZipCode=$_POST["ZipCode"]; $Country=$_POST["Country"]; $Comments=$_POST["Comments"]; $message="Steadman & Steele, A message has been received through the contact form at: http://www.sandscollect.com/contactus.php --------Contact Details-------- Full Name: ".$FullName." E-Mail: " . $email . " Phone #: " . $Phone . " Fax: " . $Fax . " Address: " . $StreetAddress." City: ".$City ." State: ".$State." Zip: ".$ZipCode." Country: ".$Country." --------Comments-------- ".$Comments." ------------------------------------------------ Message received from www.sandscollect.com Sent from: ".$_SERVER['REMOTE_ADDR']." on ".date("m/d/Y")." ------------------------------------------------ "; mail("info@sandscollect.com","SandsCollect.com Contact Form",$message,"From:".$email); $success=1; } // for x ?>
|
|||||||||||||||||||
|