~ K A L I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.63 -________-
CLIENT IP : 216.73.216.59 MINI SHELL D ZAB '
Current File : /home/sites/blackstoneaccountants.co.uk/public_html/request-qoute.php |
<?php
$result=array();
$req1=$_POST['f1'];
$req2=$_POST['req2'];
$req3=$_POST['req3'];
$req4=$_POST['f4'];
$req5=$_POST['f5'];
$req6=$_POST['f6'];
$req7=$_POST['sector'];
$req8=$_POST['location'];
$req9=$_POST['txtname'];
$req10=$_POST['txtbusiness'];
$req11=$_POST['txtphone'];
$req12=$_POST['txtemail'];
$req13=$_POST['txtmsg'];
$to='admin@blackstoneaccountants.co.uk';
$from='blackstoneaccountants@mail.com';
$sub="New Qoute Request";
$headers .= "Reply-To: The Sender <$from>\r\n";
$headers .= "Return-Path: The Sender <$from>\r\n";
$headers .= "From: ".$from ."\r\n" .
$headers .= "Organization: Sender Organization\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=utf-8\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "X-Mailer: PHP". phpversion() ."\r\n" ;
$mail_body = "<html><body>";
$mail_body .= "<table align='center' cellpadding='10px' border='2px' style='border:1px solid #aaa;width:80%;padding:10px;margin:0 auto;'>
<tr style='text-align:center;font-family:tahoma;'>
<td colspan='2' style='padding:10px;background-color:#343a40;'>
<h1 style='color:white;margin:0px;padding:0px;'>Blackstone</h1>
<h2 style='color:#fff;margin:0px;padding:0px;'>Accountants</h2>
</td>
</tr>
<tr>
<td colspan='2' style='text-align:center;'><h2 style='margin:0px;padding:0px;'><b>Quote Request</h2></b></td>
</tr>
<tr>
<td><b style='margin-right:20px'>Name:</b>$req9</td>
<td><b style='margin-right:20px'>Business Name:</b>$req10</td>
</tr>
<tr>
<td><b style='margin-right:20px'>Email:</b>$req12</td>
<td><b style='margin-right:20px'>Phone:</b>$req11</td>
</tr>
<tr>
<td><b style='margin-right:20px'>Which sector do your work in?:</b>$req7</td>
<td><b style='margin-right:20px'>Your Location?:</b>$req8</td>
</tr>
<tr>
<td><b style='margin-right:20px'>Are you a sole trader, partnership or limited company?:</b>$req1</td>
<td><b style='margin-right:20px'>What's your annual approximate sales/turnover?:</b>$req2</td>
</tr>
<tr>
<td><b style='margin-right:20px'>How many employees work in your business?:</b>$req3</td>
<td><b style='margin-right:20px'>Do you pay your employees weekly or monthly?:</b>$req4</td>
</tr>
<tr>
<td><b style='margin-right:20px'>How do you keep your accounting records?:</b>$req5</td>
<td><b style='margin-right:20px'>Are you registered for VAT? :</b>$req6</td>
</tr>
<tr>
<td colspan='2'><b style='margin-right:20px'>Comments:</b>$req13</td>
</tr>
</table>";
$mail_body .= "</body></html>";
if(mail($to,$sub,$mail_body,$headers)){
$result['error']=false;
$result['msg']='Request sent successfully.We will contact you soon.';
}
else{
$result['error']=true;
$result['msg']='Error';
}
echo json_encode($result);
?>
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com