HEX
Server: Apache
System: Linux p3plzcpnl504659.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: iw4ko36aaxmu (10794665)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /home/iw4ko36aaxmu/public_html/test/cc.php
<?php

 
 

$your_name_c=$_GET['your_name_c'];

$email_c=$_GET['email_c'];

 $phone_num_c=$_GET['phone_num_c'];

$project_c=$_GET['project_c'];

 



function is_valid_email($email_c) {

  $result = TRUE;

  if(!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email_c)) {

    $result = FALSE;

  }

  return $result;

}



 

 if($phone_num_c!=="") { 



if($your_name_c=="Name*") { echo "Your Name: Required"; }

//elseif($email_c=="Email") { echo "Your Email: Required"; }

//elseif(is_valid_email($email_c)==FALSE){ echo "Your Email: Invalid Email"; }





//elseif($address_c=="Address") { echo "Your Address: Required"; }

elseif($phone_num_c=="Phone No.*")  { echo "Your Phone: Required"; }

elseif($project_c=="Project Description and Budget")  { echo "Project Description and Budget: Required"; }



//elseif($time_of_completion=="Time of Completion") { echo "Time Of Completion: Required"; }

//elseif($estimated_budget=="Estimated Budget")  { echo "Estimated Budget: Required"; }

//elseif($best_time_of_call=="Best time to call") { echo "Best time to call: Required"; }

//elseif($hear_about_us=="How did you Hear About us") { echo "Best time to call: Required"; }







else{

	

	



	

$from="sales@chandlee.com";



$subject1=".:: C & S Website Contact Form Details ::.";


 


$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 >" . $your_name_c. "</td></tr>";

 
$message11.="<tr><td align=left width=225px width=100px align=right><strong>Phone :</strong> </td><td >" . $phone_num_c. "</td></tr>";

$message11.="<tr><td align=left width=225px width=100px align=right><strong>Email :</strong> </td><td >" . $email_c. "</td></tr>";

$message11.="<tr><td align=left width=225px width=100px align=right><strong>Project Description :</strong> </td><td >" . $project_c. "</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);
$sent4=mail("jim@chandlee.com", $subject1, $message11, $headers11);


 


  

 


 

echo "<font color=#005FB0>Thanks! We will reply to you shortly.</font>"; 







}



 }



?>