OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
quiz
/
backup
/
old_backup
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📁
backup
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
callback.php
846 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📁
data
-
02/15/2025 11:20:34 AM
rwxr-xr-x
📄
function.php
5.06 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
index.html
2.27 KB
02/15/2025 11:21:46 AM
rw-r--r--
📄
oauth.php
332 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
register.php
5.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
subscription_check.php
1.37 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify.php
2.21 KB
05/19/2025 10:07:16 AM
rw-r--r--
Editing: verify.php
Close
<?php session_start(); if ($_SERVER['REQUEST_METHOD'] == 'POST') { // Process OTP submission $email_otp = $_POST['emailOtp'] ?? ''; $phone_otp = $_POST['phoneOtp'] ?? ''; // Normally here you would verify the OTP sent to the user's email/phone // For now, we simulate the process: if ($email_otp == '123456' && $phone_otp == '654321') { echo '<script>alert("Verification Successful!"); window.location.href = "index.html";</script>'; // Here you would save the user info into your database. } else { echo '<h2 class="text-danger text-center">Verification Failed! Please try again.</h2>'; } } else if ($_SERVER['REQUEST_METHOD'] == 'GET') { if (isset($_GET['phoneNumber'])) { echo "<h5>The OTP is sent to the Phone Number ".$_GET['phoneNumber']."</h5>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Verification</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div class="container mt-5" style="max-width: 500px; padding:20px; border:1px solid black;"> <h2 class="text-center">Email and Phone Number Verification</h2> <p>An OTP is sent to your registered Mobile Number and to your Email</p> <!-- Change method to POST here --> <form action="verify.php" method="POST"> <div class="mb-3"> <label for="emailOtp" class="form-label">Enter Email OTP</label> <input type="text" class="form-control" id="emailOtp" name="emailOtp" required> </div> <div class="mb-3"> <label for="phoneOtp" class="form-label">Enter Phone OTP</label> <input type="text" class="form-control" id="phoneOtp" name="phoneOtp" required> </div> <button type="submit" class="btn btn-primary">Verify</button> </form> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script> </body> </html>