MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.149.253.73
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/samingpvtltd.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/samingpvtltd.com/mail.php
<?php
//get data from form  

$name = $_POST['name'];
$email= $_POST['email'];
$alt_phn= $_POST['alt_phn'];
$phn= $_POST['phn'];
// $mobile= $_POST['sender_mobile'];
$to = "developer1@webkeyindia.com"; //admin official mail
$subject = "Registration Lead ";
$txt ="Name = ". $name . "\r\n  Email = " . $email . "\r\n Alternate Number =" . $alt_phn . "\r\n Phone =" . $phn;
$headers = "From: noreply@growmoresuccess.com" . "\r\n" .
"CC: somebodyelse@example.com";
if($email!=NULL){
    mail($to,$subject,$txt,$headers);
}
//redirect
echo ("<script LANGUAGE='JavaScript'>
    window.alert('Succesfully sent the registration request');
    window.location.href='registration.php';
    </script>");
?>

MMCT - 2023