CONTACT US

All comments are welcome. If your feedback is regarding an error of any sort that you have encountered while using this site, please include as much information about the problem as possible.

                  All Fields Are Optional


(Maximum 4000 Characters)

/","",substr($_POST['message'],0,4000)); # For Links & JS $help_message = preg_replace("/<|>/","",$help_message); ##### /VALIDATE INPUTS ##### $sp_check1 = $_POST['info']; $sp_check2 = $_POST['comments']; $spam=0; if ($sp_check1 != "" || $sp_check2 != "") { logout("Spam: ".$contact_email." ".$help_message, LOGOUT_DEBUG); $spam=1; $help_subject="SPAM"; } if(!$error && !$spam){ ##### SEND EMAIL ##### $email_body = "Contact Name:\t$contact_name\nContact Email:\t$contact_email\nSubject:\t\t$help_subject\n\n$help_message\n\n$pq_url"; include_once("class.phpmailer.php"); $mail = new phpmailer();$mail->IsSMTP();$mail->Host = "localhost"; $mail->From = "help@pricequotes.com";$mail->FromName = "PQ Help"; $mail->AddAddress("help@pricequotes.com"); $mail->Subject = "PriceQuotes Contact Form"; $mail->Body = $email_body; $mail->Send(); } ##### /SEND EMAIL ##### ##### DATABASE CONNECT ##### include("/home/pricequotes/priv/db.inc.php");mysql_select_db("pq"); ##### /DATABASE CONNECT ##### ##### LOG FORM ###### $SQL="insert into support (xstamp,xdate,xtime,contact_name,contact_email,help_subject,help_message,pq_url) values (unix_timestamp(),date_format(now(),'%Y-%m-%d'),date_format(now(),'%T'),'$contact_name','$contact_email','$help_subject','$help_message','$pq_url')"; $QRY = mysql_query($SQL); ##### /LOG FORM ##### ##### DATABASE CLOSE ##### mysql_close($db); ##### /DATABASE CLOSE ##### ?>

CONTACT US

Thank you. Your message has been sent to PriceQuotes.com customer support.