░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
lon105.truehost.cloud
LOCATION:
/home/ilrtztmy/mandariconstructionsupplies.com/api/helpers
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: response.php
<?php // helpers/response.php function json_success(array $data = [], int $statusCode = 200): void { header("Content-Type: application/json"); http_response_code($statusCode); echo json_encode(["success" => true, "data" => $data]); exit(); } function json_error(string $code, string $message, int $statusCode = 400, array $details = []): void { header("Content-Type: application/json"); http_response_code($statusCode); $error = ["code" => $code, "message" => $message]; if (!empty($details)) { $error["details"] = $details; } echo json_encode(["success" => false, "error" => $error]); exit(); }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 response.php
PHP
651 B
2026-07-02 10:29
EDIT
📄 slugify.php
PHP
615 B
2026-07-02 10:29
EDIT
📄 validate.php
PHP
1.6 KB
2026-07-02 10:29
EDIT