Файловый менеджер - Редактировать - /home/d46091/efoodlicence.com/enquiry.php
Назад
<?php // At the top of form page header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Pragma: no-cache"); header("Expires: 0"); $tokenLength = random_int(16, 50); // Length: 16–50 $csrfToken = bin2hex(random_bytes($tokenLength)); // 32–100 characters setcookie('csrf_token', $csrfToken, [ 'expires' => time() + 3600, // 1 hour 'path' => '/', 'secure' => true, // only over HTTPS 'httponly' => false, // allow JS if you're injecting via JS 'samesite' => 'Strict', // prevent cross-site ]); ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <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>FSSAI Enquiry Form </title> <meta name="description" content="Apply for FSSAI certificate online application for hotels, fast food restaurants. Free Consultation, low fees, easy FSSAI registration process and to get a new food license."> <link rel="icon" href="https://efoodlicence.org/assets/images/fssai-logo.svg" type="image/gif" sizes="16x16" alt=""> <script src="https://kit.fontawesome.com/d23a55b7f1.js" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="css/main.css"> <link rel="canonical" href="enquiry.php" /> </head> <body> <?php include 'header.php';?> <div class="container fcs-form-container"> <h1 class="text-center text-uppercase font-weight-bold" style="font-size:20px">FSSAI LICENSE ONLINE ENQUIRY FORM</h1> <div class="row"> <div class="col-12 col-lg-6"> <h2 class="fchd shadow text-center" style="font-size:15px">FSSAI ENQUIRY FORM</h2> <form action="submitx.php" method="post" enctype="multipart/form-data"> <div class="form-group txt"> <label> Name of Applicant / Company <span class="required">*</span></label> <input type="text" class="form-control" name="applicant_name" value="" required> <input type="hidden" name="csrf_token" value="<?= htmlspecialchars($csrfToken); ?>"> </div> <div class="form-group txt"> <label>EMAIL ID <span class="required">*</span></label> <input type="text" class="form-control" name="email_id" required> </div> <div class="form-group txt"> <label>MOBILE NUMBER <span class="required">*</span></label> <input type="tel" maxlength="10" minlength="10" class="form-control" name="mobile_number" required> </div> <div class="form-group txt"> <label > STATE <span class="required">*</span></label> <select name="office_state" id="office_state" class="form-control"> <option value="">Select State</option> <option value="Andhra Pradesh">Andhra Pradesh</option> <option value="Andaman and Nicobar Islands">Andaman and Nicobar Islands</option> <option value="Arunachal Pradesh">Arunachal Pradesh</option> <option value="Assam">Assam</option> <option value="Bihar">Bihar</option> <option value="Chandigarh">Chandigarh</option> <option value="Chhattisgarh">Chhattisgarh</option> <option value="Dadar and Nagar Haveli">Dadar and Nagar Haveli</option> <option value="Daman and Diu">Daman and Diu</option> <option value="Delhi">Delhi</option> <option value="Lakshadweep">Lakshadweep</option> <option value="Puducherry">Puducherry</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="Jammu and Kashmir">Jammu and Kashmir</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="form-group txt"> <label>Select Product Type<span class="required">*</span></label> <select class="form-control" name="product_type" id="registrationType" required=""> <option selected="selected" value="">Select Options</option required>> <option value="NEW FSSAI REGISTRATION">NEW FSSAI REGISTRATION</option> <option value="FSSAI RENEWAL">FSSAI RENEWAL</option> </select> </div> <div class="form-group txt new-registration"> <label>Select Product <span class="required">*</span></label> <select class="form-control" name="product" required=""> <option selected="selected" value="">Select Options</option> <option value="BASIC REGISTRATION">BASIC REGISTRATION</option> <option value="STATE LICENCE">STATE LICENCE</option> <option value="CENTRAL LICENCE">CENTRAL LICENCE</option> </select> </div> <div class="form-group"> <input type="text" name="vercode" class="form-control" placeholder="Verfication Code" required="required"> </div> <div class="form-group small clearfix"> <label class="checkbox-inline">Verification Code</label> <img src="captcha.php"> </div> <input type="hidden" class="form-control" name="form_name" value="FSSAI Enquiry"> <input type="hidden" class="form-control" name="form_id" value="fssai_enquiry"> <button type="submit" class="btn btn-primary fcs-submit-button">Submit Application</button> </form> </div> <div class="col-12 col-lg-6"> <h2 class=" fchd shadow text-center" style="font-size:15px">INSTRUCTION TO FILL FSSAI ENQUIRY FORM</h2> <div class="form-instructions"> <div class="form-group" style="margin-top: 10px;"> <label class="fcs-text-dark"><strong>Name of Applicant/Company :</strong> Fill the name of Business / Enterprise which will get printed on FSSAI Certificate.</label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><strong>Email Id :</strong> Fill the correct Mail ID of Applicant</label> </div> <div class="form-group" style="margin-top: 50px;"> <label class="fcs-text-dark"><strong>Validate :</strong> Applicant have to click on validate button after all details and document have uploaded.</label> </div> </div> </div> </div> </div> <br> <br> <br> <br> <br> <script> //Refresh Captcha function refreshCaptcha(){ var img = document.images['captcha_image']; img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000; } </script> <!-- Back To Top Button --> <a href="#" class="cd-top text-replace js-cd-top"><i class="fas fa-arrow-up"></i></a> <style> main { flex: 1 0 auto; } footer ul > li{ display: block!important; padding: 2px; font-size: 17px; } .cont_txt { color:#fff; } .footer_div { background-color:#403f6f; /* box-shadow: 2px 2px 15px #a55600; */ text-align:center; } </style> <?php include 'footer.php';?> <!--Start of Tawk.to Script--> <!--<script type="text/javascript"> var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/5ece1703c75cbf1769efba79/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script>--> <!--End of Tawk.to Script--> <!--<script type="text/javascript"> Tawk_API.onPrechatSubmit = function(data) { var name = data[0].answer; var email = data[1].answer; var phone = data[2].answer; var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { console.log(this.responseText); } }; xhttp.open("GET", "chat.php?name="+name+"&email="+email+"&phone="+phone+"", true); xhttp.send(); }; </script>--> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка