if (@$_REQUEST['submit']) { $to = 'cameron@princeservices.com'; $from = 'website@princeservices.com'; $head = "From: $from"; $sub = 'New Contact Form Submission'; $cont = "\nNEW CONTACT FORM SUBMISSION\n\n"; $cont .= ' First Name: '.@$_REQUEST['fname']."\n"; $cont .= ' Last Name: '.@$_REQUEST['lname']."\n"; $cont .= ' Company: '.@$_REQUEST['company']."\n"; $cont .= ' Title: '.@$_REQUEST['title']."\n"; $cont .= ' Phone Number: '.@$_REQUEST['phone']."\n"; $cont .= ' Email: '.@$_REQUEST['email']."\n\n"; $cont .= ' Referred By: '.@$_REQUEST['how']."\n\n"; $cont .= ' Comments: '.@$_REQUEST['comments']."\n\n"; if (mail($to,$sub,$cont,$head)) { $results = 'Submission successful. Thank you for your inquiry.'; } else { $results = 'There was a problem sending your inquiry. Please try again later.'; } } ?>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Home | Copyright | Terms | Privacy | Security | more... |
||
Copyright © print date("Y"); ?> Prince Services LLC - All rights reserved. | ||