UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
membership_form.php
<?php include "top.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['name']; $fathername=$_POST['fathername']; $address=$_POST['address']; $postoffice=$_POST['postoffice']; $district=$_POST['district']; $pin=$_POST['pin']; $sate=$_POST['state']; $duration=$_POST['duration']; $mobile=$_POST['mobile']; $email=$_POST['email']; 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(); echo '<script>alert("Thankyou! for contacting us, We will get back to you soon!"); window.location="membership_form.php"; </script>'; }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>'; } } ?> <!-- These script are used for load document load (captha)--> <script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script type="text/javascript"> $(document).ready(function () { GenerateCaptcha(); }); function GenerateCaptcha() { var chr1 = Math.ceil(Math.random() * 10) + ''; var chr2 = Math.ceil(Math.random() * 10) + ''; var chr3 = Math.ceil(Math.random() * 10) + ''; var str = new Array(4).join().replace(/(.|$)/g, function () { return ((Math.random() * 36) | 0).toString(36)[Math.random() < .5 ? "toString" : "toUpperCase"](); }); var captchaCode = str + chr1 + ' ' + chr2 + ' ' + chr3; document.getElementById("txtCaptcha").value = captchaCode } /* Validating Captcha Function */ function ValidCaptcha() { var str1 = removeSpaces(document.getElementById('txtCaptcha').value); var str2 = removeSpaces(document.getElementById('txtCompare').value); if (str1 == str2) { return true; } else { GenerateCaptcha(); return false; } } /* Remove spaces from Captcha Code */ function removeSpaces(string) { return string.split(' ').join(''); } function vaidate() { var flag = true; var inputField1 =document.getElementById("name"); if (inputField1.value == "") { flag = false; alert("Please enter name."); document.getElementById("name").focus(); return false; } var inputField1 =document.getElementById("fathername"); if (inputField1.value == "") { flag = false; alert("Please enter fathername."); document.getElementById("fathername").focus(); return false; } var inputField3 = document.getElementById("address"); if (inputField3.value == "") { flag = false; alert("Please enter address"); document.getElementById("address").focus(); return false; } var inputField4 = document.getElementById("postoffice"); if (inputField4.value == "") { flag = false; alert("Please enter post office"); document.getElementById("postoffice").focus(); return false; } var inputField5 = document.getElementById("district"); if (inputField5.value == "") { flag = false; alert("Please enter distrcit"); document.getElementById("district").focus(); return false; } var inputField6 = document.getElementById("pin"); if (inputField6.value == "") { flag = false; alert("Please enter pin code"); document.getElementById("pin").focus(); return false; } var inputField7 = document.getElementById("state"); if (inputField7.value == "Select State") { flag = false; alert("Please enter state"); document.getElementById("state").focus(); return false; } var inputField8 = document.getElementById("mobile"); if (inputField8.value == "") { flag = false; alert("Please enter mobile"); document.getElementById("mobile").focus(); return false; } var inputField9 = document.getElementById("email"); if (inputField9.value == "") { flag = false; alert("Please enter email"); document.getElementById("email").focus(); return false; } if (removeSpaces(document.getElementById('txtCompare').value) == "") { flag = false; alert("Please Enter Captcha Code ."); return false; } var str1 = removeSpaces(document.getElementById('txtCaptcha').value); var str2 = removeSpaces(document.getElementById('txtCompare').value); if (str1 != str2) { alert("Captcha is not correct. please enter again"); flag = false; GenerateCaptcha(); return false; } return; } </script> <br><br><br><br> <div> <img src="assets/images/inner-banner.jpg" class="img-responsive"/> </div> <!-- contact section --> <section class="w3l-contact-11 py-5" id="contact"> <div class="container py-md-5 py-4"> <div class="title-heading-w3 mx-auto text-center mb-5 pb-xl-4"> <h3 class="title-main">Membership Form</h3> </div> <div class="row text-center mb-5 pb-lg-5 pb-sm-4"> <div class="col-lg-12 col-sm-12 contact-info"> <h4>Membership Fee : Yearly fee : 200/-, For two years : 400/-, For 6 years : 1200/-, For 10 Years : 2000/-</h4> <p>Contact No(s): 0522-2346613, 09415584228, 08564807575, 09305372504 </p> </div> </div> <div class="form-inner-cont mx-auto" style="max-width:800px"> <form action="<?php $_SERVER['PHP_SELF'];?>" method="post" class="signin-form"> <div class="row align-form-map"> <div class="col-sm-6 form-input"> <input type="text" name="name" id="name" placeholder="Name" required/> </div> <div class="col-sm-6 form-input"> <input type="text" name="fathername" id="fathername" placeholder="Father's Name" required/> </div> <div class="col-sm-6 form-input"> <input type="text" name="address" id="address" placeholder="Address" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <input type="text" name="postoffice" id="postoffice" placeholder="Post" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <input type="text" name="district" id="district" placeholder="District" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <input type="text" name="pin" id="pin" placeholder="Pin" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <select class="form-control input-sm m-bot15" id="state" name="state"> <option value="Select State">Select State</option> <option value="Andhra Pradesh">Andhra Pradesh</option> <option value="Arunachal Pradesh">Arunachal Pradesh</option> <option value="Assam">Assam</option> <option value="Bihar">Bihar</option> <option value="Chhattisgarh">Chhattisgarh</option> <option value="Goa">Goa</option> <option value="Gujarat">Gujarat</option> <option value="Haryana">Haryana</option> <option value="Himachal Pradesh">Himachal Pradesh</option> <option value="Jharkhand">Jharkhand</option> <option value="Karnataka">Karnataka</option> <option value="Kerala">Kerala</option> <option value="Madhya Pradesh">Madhya Pradesh</option> <option value="Maharashtra">Maharashtra</option> <option value="Manipur">Manipur</option> <option value="Meghalaya">Meghalaya</option> <option value="Mizoram">Mizoram</option> <option value="Nagaland">Nagaland</option> <option value="Odisha">Odisha</option> <option value="Punjab">Punjab</option> <option value="Rajasthan">Rajasthan</option> <option value="Sikkim">Sikkim</option> <option value="Tamil Nadu">Tamil Nadu</option> <option value="Telangana">Telangana</option> <option value="Tripura">Tripura</option> <option value="Uttar Pradesh">Uttar Pradesh</option> <option value="Uttarakhand">Uttarakhand</option> <option value="West Bengal">West Bengal</option> </select> </div> <div class="col-sm-6 form-input"> <select class="form-control input-sm m-bot15" id="duration" name="duration"> <option value="Duration- For 1 Year">Duration- For 1 Year</option> <option value="Duration- For 2 Year">Duration- For 2 Year</option> <option value="Duration- For 6 Year">Duration- For 6 Year</option> <option value="Duration- For 10 Year">Duration- For 10 Year</option> </select> </div> <div class="col-sm-6 form-input"> <br> <input type="number" name="mobile" id="mobile" placeholder="Mobile" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <br> <input type="email" name="email" id="email" placeholder="Email" class="contact-input" required> </div> <div class="col-sm-6 form-input"> <input type="text" id="txtCompare" autocomplete="off" style="color: #000000" placeholder="Enter Captcha code" required/> </div> <div class="col-sm-6 form-input"> <input type="text" runat="server" id="txtCaptcha" style="text-align: center; border: none; font-weight: bold; font-family: Modern; color: #000000;" readonly="readonly" /> </div> <div class="col-sm-12 form-input"> <input type="button" id="btnrefresh" class="btn btn-style" value="Refresh Captcha" onclick="GenerateCaptcha();" /> </div> </div> <div class="submit text-right"> <input type="submit" class="btn btn-style" name="submit" id="submit" onclick="vaidate();" value="submit"/> </div> </form> </div> </div> </section> <!-- //contact section --> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec