define ("CONTACT_ADDRESS", "tj@intocast.co.uk"); if ($_SERVER['REQUEST_METHOD'] == "POST") { $name = ""; if (array_key_exists ("name", $_POST)) { $name = $_POST['name']; } $company = ""; if (array_key_exists ("company", $_POST)) { $company = $_POST['company']; } $phone = ""; if (array_key_exists ("phone", $_POST)) { $phone = $_POST['phone']; } $email = ""; if (array_key_exists ("email", $_POST)) { $email = $_POST['email']; } $nature = ""; if (array_key_exists ("nature", $_POST)) { $nature = $_POST['nature']; } $mail_body = ""; $mail_body .= "Name: $name\n"; $mail_body .= "Company: $company\n"; $mail_body .= "Contact number: $phone\n"; $mail_body .= "Email Address: $email\n"; $mail_body .= "Nature of Enquiry: $nature\n"; $subject = "website contact form submission"; $headers = 'From: webmaster@sunflower-netmedia.co.uk' . "\r\n"; $headers .= 'Reply-To: webmaster@sunflower-netmedia.co.uk' . "\r\n"; mail (CONTACT_ADDRESS, $subject, $mail_body, $headers); header ("location: contact_thanks.html"); exit; } ?>
Contact US
|
|
||
| |
|||
|
Handsworth Refractories are Fire Brick Specialists |
|||