Server IP : 2a02:4780:3:1493:0:3736:a38e:7 / Your IP : 216.73.216.139 Web Server : LiteSpeed System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u926327694/domains/smsoft.in/public_html/demo/src/../staticimg/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php // First we execute our common code to connection to the database and start the session require("common.php"); // At the top of the page we check to see whether the user is logged in or not if(empty($_SESSION['Phone_user'])) { // If they are not, we redirect them to the login page. header("Location: index.php"); // Remember that this die statement is absolutely critical. Without it, // people can view your members-only content without logging in. die("Redirecting to index.php"); } // Everything below this point in the file is secured by the login system // We can display the user's username to them by reading it from the session array. Remember that because // a username is user submitted content we must use htmlentities on it before displaying it to the user. ?> <?php $otp=$_SESSION['OTP']; echo "$otp"; if (isset($_POST['otp'])) { $otpp = $_POST['otp']; if($otpp == $otp) { header('location: user_Pay_fees.php'); } else { ?> <script> alert("Invalid OTP"); window.location="index.php"; </script> <?php } } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Enter Your Registred Mobile Number</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body class="blurBg-false" style="background-color:#EBEBEB" align="center"><!-- Start Formoid form--> <style type="text/css"> <!-- @import url("Level3_2.css"); .style3 { color: #660000; font-size: 36px; } --> </style> <link rel="stylesheet" href="index_files/formoid1/formoid-solid-blue.css" type="text/css" /> <script type="text/javascript" src="index_files/formoid1/jquery.min.js"></script> <form align="center" "class="formoid-solid-blue" style="background-color:#FFFFFF;font-size:14px;font-family:'Roboto',Arial,Helvetica,sans-serif;color:#34495E;" method="post" action=""><div class="title"><h2>Enter OTP</h2></div> <div class="element-phone"><label class="title"></label><div class="item-cont"> <input class="large" type="password" pattern="[+]?[\.\s\-\(\)\*\#0-9]{3,}" maxlength="4" name="otp" placeholder="OTP" value=""/> <span class="icon-place"></span></div></div> <div class="submit"> <input type="submit" value="Submit" /> </div></form> </body> </html>