HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/public_html/journalofbusinessstudies.in/enquiry-form.php
<?php $page = 'Enquiry-Form';include 'inc/header.php'; ?>
<br>

<div class="container">
<div class="row">
<div class="col-sm-12">
<h3 class="journal_text">ENQUIRY FORM</h3>

</div>

<div class="col-sm-8">
<div class="row"></div>
  <iframe src="http://www.journalofbusinessstudies.in/enquiry-form/form.php" style="border:none; height:1000px; width:100%"></iframe>

</div>


</div>
</div>
<br>
<?php 
if(isset($_POST["s"]))
{
$firstname = $_POST["firstname"];
$lastname = $_POST["lastname"];
$emailid = $_POST["emailid"];
$phnno = $_POST["phnno"];
$addline1 = $_POST["addline1"];
$addline2 = $_POST["addline2"];
$city = $_POST["city"];
$state = $_POST["state"];
$pcode = $_POST["pcode"];
$country = $_POST["country"];
$mg = $_POST["mg"];




$to = "mdnadimkhalid732@gmail.com";
$subject = "Quiry Form";

$message = "
<html>
<head>
</head>
<body>
<p>Enquiry Form Submission</p>
<table>
<tr><td>First Name</td><td>" . htmlspecialchars($firstname) . "</td></tr>
<tr><td>Last Name</td><td>" . htmlspecialchars($lastname) . "</td></tr>
<tr><td>Email ID</td><td>" . htmlspecialchars($emailid) . "</td></tr>
<tr><td>Phone No</td><td>" . htmlspecialchars($phnno) . "</td></tr>
<tr><td>Address Line 1</td><td>" . htmlspecialchars($addline1) . "</td></tr>
<tr><td>Address Line 2</td><td>" . htmlspecialchars($addline2) . "</td></tr>
<tr><td>City</td><td>" . htmlspecialchars($city) . "</td></tr>
<tr><td>State</td><td>" . htmlspecialchars($state) . "</td></tr>
<tr><td>Postal Code</td><td>" . htmlspecialchars($pcode) . "</td></tr>
<tr><td>Country</td><td>" . htmlspecialchars($country) . "</td></tr>
<tr><td>Message</td><td>" . htmlspecialchars($mg) . "</td></tr>
</table>
</body>
</html>
";


// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";

// More headers
$headers .= 'From: <'.$emailid.'>' . "\r\n";

mail($to,$subject,$message,$headers);





}
?>


<?php include 'inc/footer.php';?>