| Server IP : 35.154.56.2 / Your IP : 216.73.217.116 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-0-189 6.8.0-1029-aws #31-Ubuntu SMP Wed Apr 23 18:20:04 UTC 2025 aarch64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /srv/primatransformer.com/html/ |
Upload File : |
<?php
include('SendEmail/allemail.php');
include('SendEmail/PHPMailerAutoload.php');
$info = $_POST;
//image upload code
if(!empty($info['name']))
{
sendadmin_mail($_POST);
echo "1";
}
else
{
echo "0";
}
function sendadmin_mail($info)
{
$body="
<div style='margin: 0'>
<div style='background: #f2f2f2; margin: 0 auto; max-width: 640px; padding: 0 20px'>
<table cellspacing='0' cellpadding='0' border='0' align='center' width='100%'>
<tr>
<td style='text-align:center; margin: auto; padding: 5px 0 0px 0'>
<img src='http://primatransformer.com/images/logo.png'/>
<hr>
</td>
</tr>
</table>
<h1 style='text-align:center; color: #d93025; font-size: 19px;'>New Enquire! </h1>
<div style='background: #fff; color: #5b5b5b; border-radius: 4px; font-family: arial; font-size: 13px; padding: 10px 20px; width: 90%; margin: 20px auto; line-height: 17px; border: 1px #ddd solid; border-top: 0; clear: both'>
<table style='width: 100%'>
<tr>
<td> <strong>Name</strong></td> <td> : ".$info['name']." </td>
</tr>
<tr>
<td> <strong>Phone</strong></td> <td> : ".$info['phone']." </td>
</tr>
<tr>
<td> <strong>Email</strong></td> <td> : ".$info['email']." </td>
</tr>
<tr>
<td> <strong>Subject</strong></td> <td> : ".$info['subject']." </td>
</tr>
<tr>
<td> <strong>Description</strong></td> <td> : ".$info['description']." </td>
</tr>";
$body .="</table>
</div>
<table width='100%'>
<tr>
<td style='text-align:left; margin: auto; padding: 5px 0 0px 0'>
Web Site : <a href='http://primatransformer.com'>
<span style='color:#666 !important;'>primatransformer.com</span>
</a>
<td>
<td style='text-align:right; margin: auto; padding: 5px 0 0px 0'>
Powered by : <a href='http://dezinebrainz.com/'><span style='color:#666 !important;'>Dezine Brainz.</span></a>
<td>
</tr>
</table>
</div>
</div>";
$to="shailesh@dezinebrainz.com";
$bcc="formcheck@dezinebrainz.com";
$from="info@primatransformer.com";
$fromname="primatransformer.com";
$subject = 'New Enquire';
send_email($body,$to,$bcc,$from,$subject);
}
?>