Upload files to "/"

This commit is contained in:
2026-06-06 14:16:30 +00:00
commit 687f463d3b
5 changed files with 392 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
$host = "localhost";
$user = "root";
$pass = "";
$db = "webgis_jalan_tanah_p2";
$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
]));
}
?>