~ 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/form-contact.php |
<?php
$result=array();
$req1=$_POST['txtname'];
$req2=$_POST['txtemail'];
$req3=$_POST['txtphone'];
$req4=$_POST['txtmsg'];
$to='admin@blackstoneaccountants.co.uk';
$from='blackstoneaccountants@mail.com';
$sub="New Inquiry";
$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='20px' 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>Contact Us Inquiry</h2></b></td>
</tr>
<tr>
<td><b style='margin-right:20px'>Name:</b>$req1</td>
<td><b style='margin-right:20px'>Email:</b>$req2</td>
</tr>
<tr>
<td colspan='2'><b style='margin-right:20px'>Phone:</b>$req3</td>
</tr>
<tr>
<td colspan='2'><b style='margin-right:20px'>Message:</b>$req4</td>
</tr>
</table>";
$mail_body .= "</body></html>";
if(mail($to,$sub,$mail_body,$headers)){
$result['error']=false;
$result['msg']='Message sent successfully';
}
else{
$result['error']=true;
$result['msg']="Error";
}
echo json_encode($result);
?>
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com