|
Server IP : 2a02:4780:11:767:0:2c41:85d9:6 / Your IP : 216.73.217.25 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/../.cagefs/../.filebrowser/../public_html/css/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
if (isset($_POST['submit'])) {
$sendto = "info@redback.in";
$name = nl2br($_POST['name']);
$email = nl2br($_POST['email']);
$phone = nl2br($_POST['phone']);
$Subject = nl2br($_POST['subject']);
$Message = nl2br($_POST['message']);
$subject = "Contact Form Redback" ;
$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 .= "<div style='border:1px solid grey;'> <img src='https://redback.us/images/redback.png' width='200px' style='background-color:skyblue; > <div style='float:right;'><a href='http://facebook.in/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:#ff1a56;text-align:center;padding-top:20px;'><h1>Redback </h1></div>\r\n";
$msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>GENERAL ENQUERIES</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> Mobile No :</strong>" . $phone . "</p>\r\n";
$msg .= "<p style='text-transform:capitalize;'><strong> Subject :</strong>" . $Subject . "</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>© 2021-2022 <a href='https://redback.us/' style='text-decoration:none;color:white;'><strong>Redback</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 contact with Us'); window.location.href='contact.php'; </script>");
}
else
{
echo "Failed";
}
}
?>