File: /home/iw4ko36aaxmu/public_html/test/phpinfo.php
<?php
$qcname=$_GET['qcname'];
$qcphone=$_GET['qcphone'];
$qcpdescription=$_GET['qcpdescription'];
if($qcname=="") { echo "Name: Required"; }
elseif($qcphone=="") { echo "Phone: Required"; }
elseif($qcpdescription=="") { echo "Project Description: Required"; }
else{
$from="sales@chandlee.com";
$subject1=".:: Website Quick Contact Form INFO ::.";
$message11 = '<html><body>';
$message11 .= "<table cellpadding=4 align=left width=85% bordercolor=#ccc border=0>";
$message11.="<tr><td align=left width=225px width=100px align=right><strong>Name :</strong> </td><td >" . $qcname. "</td></tr>";
$message11.="<tr><td align=left width=225px width=100px align=right><strong>Phone :</strong> </td><td >" . $qcphone. "</td></tr>";
$message11.="<tr><td align=left width=225px width=100px align=right><strong>Project Description :</strong> </td><td >" . $qcpdescription. "</td></tr>";
$message11 .= '</table></body></html>';
$headers11 = 'MIME-Version: 1.0' . "\r\n";
$headers11 .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers11 .= "From: ".$from."\r\n";
$headers11 .= "Reply-to: ".$from."\r\n";
$sent1=mail("vivekvinayak87@gmail.com", $subject1, $message11, $headers11);
$sent2=mail("seth@chandlee.com", $subject1, $message11, $headers11);
$sent3=mail("scott@chandlee.com", $subject1, $message11, $headers11);
$sent4=mail("jim@chandlee.com", $subject1, $message11, $headers11);
echo "<font color=#005FB0>Thanks! We will reply to you shortly.</font>";
}
?>