Файловый менеджер - Редактировать - /home/d46091/e-udyogaadhaar.com/contact-us.php
Назад
<?php $current_url = strtolower($_SERVER['SERVER_NAME']); include("config.php"); if(isset($_POST['submit'])){ $applicant_name = $_POST['applicant_name']; $mobile_number = $_POST['mobile_number']; $email_id = $_POST['email_id']; $sql= "INSERT INTO contact_form SET applicant_name ='".$applicant_name."', mobile_number = '".$mobile_number."',email_id ='".$email_id."'"; if (!$result = $conn->query($sql)) { die('There was an error running the query [' . $conn->error . ']'); } $to = "care@e-udyogaadhaar.com"; // this is your Email address $from = $email_id; // this is the sender's Email address $name = $applicant_name; $mobile_no = $mobile_number; $subject = "Contact Form submission"; //$subject2 = "Contact form submission"; $message = " Applicant Name : " . $name ."\n Mobile Name : ". $mobile_no ."\n Email Id : ". $from ."\n "; //$message2 = "Thank you " . $name . " we will contact you shortly."; $headers = "From:" . $from; // $headers2 = "From:" . $to; mail($to,$subject,$message,$headers); //mail($from,$subject2,$message2,$headers2); // sends the message to the sender echo '<script>alert("Thank you , we will contact you shortly.")</script>'; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Contact us For Udyog Aadhaar/MSME/SSI Registration</title> <meta name="description" content="Conatct us for Udyog Aadhar/MSME/SSI Registration, Fill the easy online process get the certificate delivered to your email within 24 hours."> <link rel="icon" href="../assets/img/flag.png" type="image/gif" sizes="16x16"> <link rel="stylesheet" href="../fontawesome/css/all.css"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="../main.css"> <link rel="canonical" href="https://e-udyogaadhaar.com/contact-us.php" /> <style> .container-fluid.fcs-padding-container { background: #ffffff !important; } span{ text-transform:none; } </style> </head> <body> <?php include 'header.php'; ?> <br> <div class="container "> <div class="row justify-content-center"> <div class="col-lg-4"> </div> </div> <!-- Tabbar --> <div class="container fcs-padding-container"> <h1 class="text-center">Contact Us</h1> <div class="card-text " style="margin-top: 30px; text-align: left;"> <div class="row"> <div class="col-lg-5 mx-auto"> <div class="col-lg-12"> <!--<h2 class="text-center">Fill Form to contact Us</h2>--> <form action="contact-us.php" method="post" style="padding:30px"> <div class="form-group"> <label>Name:</label> <input type="text" name="applicant_name" class="form-control"> </div> <div class="form-group"> <label>Mobile No:</label> <input type="tel" name="mobile_number" class="form-control"> </div> <div class="form-group"> <label>Email: </label> <input type="text" name="email_id" class="form-control"> </div> <br> <!--<label>Message:</label><br><textarea rows="5" name="message" cols="30"></textarea><br>--> <input type="submit" class="btn btn-primary fcs-submit-button" name="submit" value="Submit"> </form> </div> </div> </div><br> <div style="font-size:15px; text-align:center"> Email Id: <?php echo 'care@'.$current_url;?> <br><br> <b>Note :</b> Please submit you details our representative will get back to you shortly.<br><br> <!-- Address: Suite No. 102, 1st Floor Astha Leegend, Q Road Bistupur, East Singhbhum. --> Note : For quick resolution we advise our clients to click <a href="complaint-form.php">Here</a> and submit your grievance. </div> </div> </div> </div> </div> <!-- Back To Top Button --> <a href="#" class="cd-top text-replace js-cd-top"><i class="fas fa-arrow-up"></i></a> <?php include 'footer.php'; ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка