OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
quiz
/
backup
/
process
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
check_user_exists.php
840 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
logged_out.php
132 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
loginCheck.php
1.17 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
sendOTP.php
2.51 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
showChildDetails.php
1.11 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
storeChildDetails.php
1.83 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
submitParentForm.php
2.03 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verifyOtp.php
459 bytes
05/19/2025 10:07:16 AM
rw-r--r--
Editing: verifyOtp.php
Close
<?php session_start(); header('Content-Type: application/json'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $enteredOtp = $_POST['otp']; // Check if the entered OTP matches the stored one if ($enteredOtp == $_SESSION['otp']) { echo json_encode(['success' => true]); unset($_SESSION['otp']); // Clear OTP from session after verification } else { echo json_encode(['success' => false]); } } ?>