$value) { if (is_array($value)) { $value = implode(",", $value); } $name = "$" . $key; $code = str_replace($name, $value, $code); } $code = str_replace('$ipaddress', $_SERVER['REMOTE_ADDR'], $code); return $code; } if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'layoutgrid16') { $mailto = 'dericklans1@gmail.com'; $mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto; $subject = 'Rcshopers.com'; $message = 'Values submitted from web site form:'; $success_url = './About-us.html'; $error_url = ''; $error = ''; $autoresponder_from = 'info@rcshopers.com'; $autoresponder_to = isset($_POST['email']) ? $_POST['email'] : $mailfrom; $autoresponder_subject = 'Your Messeage Has Been Received'; $autoresponder_message = 'This is just to ackowledge that, your message has been received and our suppourt team, are working 24/7 and it will take them a maximum of 10-30 minutes to reply to your message. Your can still write back to us through the same email, call +1 469-248-5839 , or text +1469-248-5839. Thank you for your message.'; $eol = "\n"; $boundary = md5(uniqid(time())); $header = 'From: '.$mailfrom.$eol; $header .= 'Reply-To: '.$mailfrom.$eol; $header .= 'MIME-Version: 1.0'.$eol; $header .= 'Content-Type: multipart/mixed; boundary="'.$boundary.'"'.$eol; $header .= 'X-Mailer: PHP v'.phpversion().$eol; if (!ValidateEmail($mailfrom)) { $error .= "The specified email address is invalid!\n
"; } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response"); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; $logdata = ''; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } } } $body = 'This is a multi-part message in MIME format.'.$eol.$eol; $body .= '--'.$boundary.$eol; $body .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol; $body .= 'Content-Transfer-Encoding: 8bit'.$eol; $body .= $eol.stripslashes($message).$eol; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if ($_FILES[$key]['error'] == 0) { $body .= '--'.$boundary.$eol; $body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol; $body .= 'Content-Transfer-Encoding: base64'.$eol; $body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol; $body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol; } } } $body .= '--'.$boundary.'--'.$eol; if ($mailto != '') { mail($mailto, $subject, $body, $header); } $autoresponder_header = 'From: '.$autoresponder_from.$eol; $autoresponder_header .= 'Reply-To: '.$autoresponder_from.$eol; $autoresponder_header .= 'MIME-Version: 1.0'.$eol; $autoresponder_header .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol; $autoresponder_header .= 'Content-Transfer-Encoding: 8bit'.$eol; $autoresponder_header .= 'X-Mailer: PHP v'.phpversion().$eol; mail($autoresponder_to, $autoresponder_subject, $autoresponder_message, $autoresponder_header); $successcode = file_get_contents($success_url); $successcode = ReplaceVariables($successcode); echo $successcode; exit; } ?> Contact Rcshopers.com | Shop Research Chemical Online


Rcshopers.com

CONTACT US

Welcome To Rcshopers.com
Our support team work 24/7, juts to make sure we meet our customers needs.
Fill the contact form and our support team will get back to you in a few munites.
Rcshopers are dealers of research chemicals, bath salts and herbal incense online. Buy Research Chemicals Such As Coke Powder, Bath salts and Herbal Incense at rcshopers dot com Online.

+1 469-248-5839
Connect Us
Newsletter
Rcshopers.com
Phone Number:  +1 469-248-5839
E-Mail:   info@rcshopers.com
464 Becker Farms Road, Stonewall, TX 78671.

Copyright RCshopers.com 2020. All right reserved.