Initial commit

This commit is contained in:
Farha
2026-04-07 17:17:55 +07:00
commit 433efc4457
11 changed files with 1600 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
$host = 'localhost';
$user = 'root';
$pass = '';
$db = 'gis_db';
$conn = new mysqli($host, $user, $pass, $db);
$conn->set_charset('utf8mb4');
if ($conn->connect_error) {
http_response_code(500);
echo json_encode(['status' => 'error', 'message' => 'Koneksi gagal: ' . $conn->connect_error]);
exit;
}
?>