Contacting

As an alternative, you also can submit the form below with as much details as you can and we will get back to you shortly.
"; $arrErrors = array(); if(!empty($_POST['Submit'])){ foreach($_REQUEST as $k=>$v){ if(preg_match('#(apparently\s*-\s*to)|(bcc)|(boundary)|(charset)|(content\s*-\s*disposition)|(content\s*-\s*type)|(content\s*-\s*transfer\s*-\s*encoding)|(errors\s*-\s*to)|(in\s*-\s*reply\s*-\s*to)|(message\s*-\s*id)|(mime\s*-\s*version)|(multipart\s*/\s*mixed)|(multipart\s*/\s*alternative)|(multipart\s*/\s*related)|(reply\s*-\s*to)|(x\s*-\s*mailer)|(x\s*-\s*sender)|(x\s*-\s*uidl)#is',$_REQUEST[$k])){ $ip = date("l dS of F Y h:i:s A")." : ".$_SERVER['REMOTE_ADDR']." : ".$_SERVER['REMOTE_PORT']." : ".$_SERVER['HTTP_REFERER']."\n"; $open = "/home/httpd/www/netphiles.com/public_html/mail-injection.txt"; $fp = fopen($open, "a"); fwrite($fp,$ip); fclose($fp); mail("cburton@netphiles.com", "Email Injection Attack!", "Please check http://www.netphiles.com/mail-injection.txt for details.", "CC: info@netphiles.com \n"); header("HTTP/1.0 403 Forbidden"); exit; } $valid = array("fname", "lname", "dayPhone", "otherPhone", "address1", "address2", "city", "zip"); if(in_array($k, $valid)){ if(eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $_REQUEST[$k])){ $ip = date("l dS of F Y h:i:s A")." : ".$_SERVER['REMOTE_ADDR']." : ".$_SERVER['REMOTE_PORT']." : ".$_SERVER['HTTP_REFERER']."\n"; $open = "/home/httpd/www/netphiles.com/public_html/mail-injection.txt"; $fp = fopen($open, "a"); fwrite($fp,$ip); fclose($fp); mail("cburton@netphiles.com", "Email Injection Attack!", "Please check http://www.netphiles.com/mail-injection.txt for details.", "CC: info@netphiles.com \n"); header("HTTP/1.0 403 Forbidden"); exit; } } $_REQUEST[$k] = trim(stripslashes(strip_tags(htmlentities($_REQUEST[$k])))); } if((empty($_SERVER['HTTP_USER_AGENT'])) || ($_SERVER['HTTP_USER_AGENT'] == "-")){ $ip = date("l dS of F Y h:i:s A")." : ".$_SERVER['REMOTE_ADDR']." : ".$_SERVER['REMOTE_PORT']." : ".$_SERVER['HTTP_REFERER']."\n"; $open = "/home/httpd/www/netphiles.com/public_html/mail-injection.txt"; $fp = fopen($open, "a"); fwrite($fp,$ip); fclose($fp); mail("cburton@netphiles.com", "Email Injection Attack!", "Please check http://www.netphiles.com/mail-injection.txt for details.", "CC: info@netphiles.com \n"); header("HTTP/1.0 403 Forbidden"); exit; } /* if(strlen($_POST['Message'] != strlen(strip_tags($_POST['Message'])))){ $ip = date("l dS of F Y h:i:s A")." : ".$_SERVER['REMOTE_ADDR']." : ".$_SERVER['REMOTE_PORT']." : ".$_SERVER['HTTP_REFERER']."\n"; $open = "/home/httpd/www/netphiles.com/public_html/mail-injection.txt"; $fp = fopen($open, "a"); fwrite($fp,$ip); fclose($fp); mail("cburton@netphiles.com", "Email Injection Attack!", "Please check http://www.netphiles.com/mail-injection.txt for details.", "CC: info@netphiles.com \n"); header("HTTP/1.0 403 Forbidden"); exit; } */ if($_POST['state'] == "AL"){$st_name = "Alabama";} if($_POST['state'] == "AK"){$st_name = "Alaska";} if($_POST['state'] == "AZ"){$st_name = "Arizona";} if($_POST['state'] == "AR"){$st_name = "Arkansas";} if($_POST['state'] == "CA"){$st_name = "California";} if($_POST['state'] == "CO"){$st_name = "Colorado";} if($_POST['state'] == "CT"){$st_name = "Connecticut";} if($_POST['state'] == "DE"){$st_name = "Delaware";} if($_POST['state'] == "DC"){$st_name = "District Of Columbia";} if($_POST['state'] == "FL"){$st_name = "Florida";} if($_POST['state'] == "GA"){$st_name = "Georgia";} if($_POST['state'] == "HI"){$st_name = "Hawaii";} if($_POST['state'] == "ID"){$st_name = "Idaho";} if($_POST['state'] == "IL"){$st_name = "Illinois";} if($_POST['state'] == "IN"){$st_name = "Indiana";} if($_POST['state'] == "IA"){$st_name = "Iowa";} if($_POST['state'] == "KS"){$st_name = "Kansas";} if($_POST['state'] == "KY"){$st_name = "Kentucky";} if($_POST['state'] == "LA"){$st_name = "Louisiana";} if($_POST['state'] == "ME"){$st_name = "Maine";} if($_POST['state'] == "MD"){$st_name = "Maryland";} if($_POST['state'] == "MA"){$st_name = "Massachusetts";} if($_POST['state'] == "MI"){$st_name = "Michigan";} if($_POST['state'] == "MN"){$st_name = "Minnesota";} if($_POST['state'] == "MS"){$st_name = "Mississippi";} if($_POST['state'] == "MO"){$st_name = "Missouri";} if($_POST['state'] == "MT"){$st_name = "Montana";} if($_POST['state'] == "NE"){$st_name = "Nebraska";} if($_POST['state'] == "NV"){$st_name = "Nevada";} if($_POST['state'] == "NH"){$st_name = "New Hampshire";} if($_POST['state'] == "NJ"){$st_name = "New Jersey";} if($_POST['state'] == "NM"){$st_name = "New Mexico";} if($_POST['state'] == "NY"){$st_name = "New York";} if($_POST['state'] == "NC"){$st_name = "North Carolina";} if($_POST['state'] == "ND"){$st_name = "North Dakota";} if($_POST['state'] == "OH"){$st_name = "Ohio";} if($_POST['state'] == "OK"){$st_name = "Oklahoma";} if($_POST['state'] == "OR"){$st_name = "Oregon";} if($_POST['state'] == "PA"){$st_name = "Pennsylvania";} if($_POST['state'] == "RI"){$st_name = "Rhode Island";} if($_POST['state'] == "SC"){$st_name = "South Carolina";} if($_POST['state'] == "SD"){$st_name = "South Dakota";} if($_POST['state'] == "TN"){$st_name = "Tennessee";} if($_POST['state'] == "TX"){$st_name = "Texas";} if($_POST['state'] == "UT"){$st_name = "Utah";} if($_POST['state'] == "VT"){$st_name = "Vermont";} if($_POST['state'] == "VA"){$st_name = "Virginia";} if($_POST['state'] == "WA"){$st_name = "Washington";} if($_POST['state'] == "WV"){$st_name = "West Virginia";} if($_POST['state'] == "WI"){$st_name = "Wisconsin";} if($_POST['state'] == "WY"){$st_name = "Wyoming";} if($_POST['fname'] == ""){ $arrErrors['fname'] = "Please provide your First Name."; } if($_POST['lname'] == ""){ $arrErrors['lname'] = "Please provide your Last Name."; } if($_POST['mailfrom'] == ""){ $arrErrors['mailfrom'] = "Please provide an email address."; } if($_POST['mailfrom'] != ""){ $_POST['mailfrom'] = trim($_POST['mailfrom']); if(!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $_POST['mailfrom'])){ $arrErrors['mailfrom'] = "The Email Address you provided is invalid. Please provide a valid Email Address."; } } if(count($arrErrors) == 0){ $mailRecipient = $config['site_email']; $mailSub = "A request for information has been submitted from your website."; $msg = "The following information was gathered from your website:\n\n"; $msg .= "NAME: \t".$_POST['fname']." ".$_POST['lname']."\n"; $msg .= "EMAIL ADDRESS: \t".$_POST['mailfrom']."\n"; if($_POST['dayPhone'] != ""){ $msg .= "DAYTIME PHONE: \t".$_POST['dayPhone']."\n"; } if($_POST['otherPhone'] != ""){ $msg .= "EVENING PHONE: \t".$_POST['otherPhone']."\n"; } if($_POST['address1'] != ""){ $msg .= "ADDRESS:\n\t\t".$_POST['address1']."\n"; } if($_POST['address2'] != ""){ $msg .= "\t\t".$_POST['address2']."\n"; } if($_POST['city'] != ""){ $msg .= "\t\t".$_POST['city']."\n"; } if($_POST['state'] != ""){ $msg .= "\t\t".$_POST['state']."\n"; } if($_POST['zip'] != ""){ $msg .= "\t\t".$_POST['zip']."\n"; } if($_POST['Message'] != ""){ $msg .= "MESSAGE:\n".$_POST['Message']."\n"; } $msg .= "\n\n\n\n"; $msg .= "This message was generated on: ".date("l F dS, Y h:i:s A")."\n\n"; $msg .= "===========================================================\n"; $msg .= " Netphiles Email Form Handler v1.2 \n"; $msg .= " Lead Generation System Provided by your Technology Partner - \n"; $msg .= " Netphiles, Inc. - Get With IT!\n\n"; $msg .= " http://www.netphiles.com\n\n"; $msg .= "===========================================================\n"; $headers = "From: ".$_POST['mailfrom']."\n"; $headers .= "CC: \n"; /* $sql = "SELECT emailAddress FROM UserDB WHERE (active = 'yes') AND ((ID != 1) AND (ID != 8))"; $res = mysql_query($sql); if($res === false){ log_error($sql); } while($dist = mysql_fetch_array($res)){ $headers .= $dist['emailAddress'].", "; }*/ $headers .= "Reply-To: ".$_POST['mailfrom']."\n"; $headers .= "Date: ".date("r")."\n"; $headers .= "Errors-To: ".$config['admin_email']."\n"; $headers .= "Mime-Version: 1.0\n"; $headers .= "Content-Type: text/plain; charset=ISO-8859-1\n"; $headers .= "Content-Transfer-Encoding: 7bit\n"; $headers .= "X-Sender: ".$config['company_name']." <".$config['site_email'].">\n"; $headers .= "X-Priority: 1\n"; $headers .= "X-Mailer: Netphiles Email Form Handler v1.2 - ".$config['company_name']."\n"; $headers .= "X-Return-Path: ".$_POST['mailfrom']."\n"; if($mailRecipient != $config['site_email']){ header("HTTP/1.0 403 Forbidden"); exit; } mail($mailRecipient, $mailSub, $msg, $headers); echo "

Thank you for your interest ".$_POST['fname']." ".$_POST['lname']."

We have received your request for information.

If you have not received a follow up on this request within the next 48 hours please contact us directly at ".$config['company_phone'].".

Again, we at ".$config['company_name']." thank you for your request.

"; include($config['template_path']."/footer.php"); exit; }else{ $strError = "

Please check the following and try again:

"; foreach($arrErrors as $error){ $strError .= $error."
"; } $strError .= "

"; } } if(isset($strError)) { echo $strError; } ?>
* Indicates a required field.
>* First Name:
>* Last Name:
>* Email Address:
Daytime Phone:  (###) ###-####
Evening Phone:  (###) ###-####
Address:
Address:
City:
State:
Zip Code:
Message: