|
IF YOU WOULD LIKE TO FIND OUT MORE ABOUT OUR RANGE OF PRODUCTS OR SERVICES.
DO NOT HESITATE TO CONTACT US VIA ANY OF OUR BRANCHES BELOW.
WHEN E-MAILING US REMEMBER TO INCLUDE YOUR CONTACT DETAILS AND SUPPLY ALL THE RELEVANT INFORMATION FOR A PROMPT REPLY |
|
Please submit your enquiries, questions, comments or suggestions including contact details if applicable. |
';
if($contactformseen!="y") {
print "$contactformform";
} else {
$errstr="";
if (!valid_email($contactformvar5)) {
$errstr.="You entered an invalid E-mail: value. ";
}
if ($errstr!='') {
print '';
print $errstr;
print ' ';
print $contactformform;
} else {
if (isSet($_SERVER)) {
if (isSet($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$realip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} elseif (isSet($_SERVER['HTTP_CLIENT_IP'])) {
$realip = $_SERVER['HTTP_CLIENT_IP'];
} else {
$realip = $_SERVER['REMOTE_ADDR'];
}
} else {
if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
$realip = getenv( 'HTTP_X_FORWARDED_FOR' );
} elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
$realip = getenv( 'HTTP_CLIENT_IP' );
} else {
$realip = getenv( 'REMOTE_ADDR' );
}
}
$host = @gethostbyaddr($realip);
$today = date("F j, Y, g:i a");
$sendmessage = "--------------------\n";
$sendmessage.= " - Name:: $contactformvar3\n";
$sendmessage.= " - Tel:: $contactformvar4\n";
$sendmessage.= " - E-mail:: $contactformvar5\n";
$sendmessage.= " - Enquiries::\n$contactformvar6\n";
$sendmessage.= "--------------------\n";
$sendmessage.= "\n\nIP: $realip\n";
$sendmessage.= "HOST: $host\n\n";
$sendmessage.= "Date and time sent: $today";
@mail("info@blinds-spot.co.za", "Enquiries", $sendmessage, "From: <>\r\nReply-To: \r\nX-Sender: Strong CONTACT (http://www.stronghtml.com)\r\nReturn-Path: <>");
print '
|
Thank you for your e-mail we will get back to you shortly
| ';
}
}
?> |
ALL INFORMATION SUPPLIED WILL BE TREATED AS PRIVATE AND CONFIDENTIAL BY BLINDS-SPOT AND WILL NOT BE PROVIDED TO ANY THIRD PARTY. |
|
|