session_start();?>
![]() |
||||||||
Kindly use the following contact form to get in touch with us. $to = "general@rightclick-solutions.com"; $from_header = "From: "; $from_header .= $_POST['email']; $body = "Name : "; $body .= $_POST['name']; $body .= "\r\nOrganisation : "; $body .= $_POST['organisation']; $body .= "\r\nAddress : "; $body .= $_POST['address']; $body .= "\r\nPhone : "; $body .= $_POST['phone']; $body .= "\r\nWebsite : "; $body .= $_POST['website']; $body .= "\r\nMessage : "; $body .= $_POST['message']; $subject = $_POST['subject']; if (!$_POST['name'] && !$_POST['organisation'] && !$_POST['address'] && !$_POST['email'] && !$_POST['phone'] && !$_POST['website'] && !$_POST['message']) print("Please enter your information."); else if(!$_POST['name']) print("Please enter your name."); else if(!$_POST['organisation']) print("Please enter your organisation."); else if(!$_POST['email']) print("Please enter your email address."); else if(!$_POST['message']) print("Please enter your message."); else if($_POST['email']){ list($userName, $mailDomain) = split("@", $_POST['email']); if (!checkdnsrr($mailDomain, "MX")) print("Please enter a valid email address."); else { //send mail mail($to, $subject, $body, $from_header); print("Thank you for your " . $subject . "."); $_POST['name'] = ""; $_POST['organisation'] = ""; $_POST['address'] = ""; $_POST['email'] = ""; $_POST['phone'] = ""; $_POST['website'] = ""; $_POST['message'] = ""; $_POST['subject'] = ""; } } ?> Alternatively, you can drop us an email at: general@rightclick-solutions.com
|
||||||||