Upload files to "/"

This commit is contained in:
2026-06-06 14:17:28 +00:00
commit ff3827e724
5 changed files with 194 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$host = "localhost";
$user = "root";
$pass = "";
$db = "webgis_spbu_layer_p3";
$conn = new mysqli($host, $user, $pass, $db);
if ($conn->connect_error) {
http_response_code(500);
die(json_encode([
"status" => "error",
"message" => "Koneksi database gagal: " . $conn->connect_error
]));
}
?>