Linux moon.hostseba.com 4.18.0-553.51.1.lve.el8.x86_64 #1 SMP Tue May 6 15:14:12 UTC 2025 x86_64
LiteSpeed
Server IP : 103.174.152.68 & Your IP : 216.73.216.6
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
admin /
order /
insert /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2025-09-01 07:26
bio_totto.php
1.39
KB
-rw-r--r--
2024-10-25 17:12
cancel_order.php
4.18
KB
-rw-r--r--
2024-10-28 09:26
error_log
1.22
KB
-rw-r--r--
2025-08-11 13:42
place_bio_order.php
502
B
-rw-r--r--
2024-10-25 15:16
received_order.php
1.18
KB
-rw-r--r--
2024-10-25 16:36
save_pdf.php
2.73
KB
-rw-r--r--
2024-10-28 09:09
Save
Rename
<?php // update-order-status.php header('Content-Type: application/json'); include '../../includes/configuration.php'; // Include your database connection file if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Get the raw POST data $data = json_decode(file_get_contents('php://input'), true); // Validate the input if (isset($data['id']) && isset($data['received'])) { $orderId = intval($data['id']); $receivedStatus = intval($data['received']); // Prepare the SQL statement $stmt = $conn->prepare("UPDATE order_list SET received = ? WHERE id = ?"); $stmt->bind_param("ii", $receivedStatus, $orderId); // Execute the query and check for success if ($stmt->execute()) { echo json_encode(['status' => 'success', 'message' => 'Order status has been updated.']); } else { echo json_encode(['status' => 'error', 'message' => 'Failed to update order status.']); } $stmt->close(); } else { echo json_encode(['status' => 'error', 'message' => 'Invalid input.']); } } else { echo json_encode(['status' => 'error', 'message' => 'Invalid request method.']); } $conn->close(); ?>