|
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/test/layout/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php $sendto = "apcavellore@gmail.com";
$name = nl2br($_POST['name']);
$email = nl2br($_POST['email']);
$mobile= nl2br($_POST['mobile']);
$subject = nl2br($_POST['subject']);
$message = nl2br($_POST['message']);
//$subject = "Apca";
$headers = "From: ".$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 .= "<div style='border:1px solid grey;'> <img src='http://apca.redbackstudios.in/images/logo6.png' width='200px'> <div style='float:right;'><a href='http://facebook.com/redbackstudios'><i class='fa fa-facebook' style='color:red'></i></a> </div>\r\n";
$msg .= "<div style='width:100%;height:75px;color:white;background-color:#0047b3;text-align:center;padding-top:20px;'><h1>Contact Page form of APCA</h1></div>\r\n";
$msg .= "<div style='padding:20px;'><h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>Enquiry Details</h2>\r\n";
$msg .= "<p><strong style='text-transform:uppercase;'> Name :</strong> ".$name."</p>\r\n";
$msg .= "<p><strong style='text-transform:uppercase;'> Email Services :</strong> ".$email."</p>\r\n";
$msg .= "<p><strong style='text-transform:uppercase;'> Mobile :</strong> ".$mobile."</p>\r\n";
$msg .= "<p><strong style='text-transform:uppercase;'> Subject :</strong> ".$subject."</p>\r\n";
$msg .= "<p><strong style='text-transform:uppercase;'> Message :</strong> ".$message."</p>\r\n";
$msg .= "</div></div>";
$msg .= "<div style='background-color:#002966;text-align:center;text-decoration:none;color:white;width:100%; height:50px;padding-top:10px;'><p>©2018 <a href='http://sharadanursinghome.com' style='text-decoration:none;color:red;'>Apca Vellore. Powered By <a href='http://redbackstudios.in' style='text-decoration:none;color:White;'>Redback Studios</a></p></div>";
$msg .= "</body></html>";
$mails = mail($sendto,$subject,$msg,$headers);
if($mails == true)
{
echo ("<script language='javascript'> window.alert('Thanks For your Details!'); window.location.href='http://apca.org.in/contact.php'; </script>");
}
else
{
echo "Failed";
}
?>